2017-05-03 John Wilander Resource Load Statistics: Remove all statistics for modifiedSince website data removals https://bugs.webkit.org/show_bug.cgi?id=171584 Reviewed by Brent Fulgham. * http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour-expected.txt: Added. * http/tests/loading/resourceLoadStatistics/clear-in-memory-and-persistent-store-one-hour.html: Added. 2017-05-03 Joanmarie Diggs AX: aria-rowspan value should be ignored if td/th rowspan value is provided https://bugs.webkit.org/show_bug.cgi?id=171214 Reviewed by Chris Fleizach. * accessibility/aria-cellspans-with-native-cellspans-expected.txt: Added. * accessibility/aria-cellspans-with-native-cellspans.html: Added. 2017-05-03 Matt Lewis Mark http/tests/xmlhttprequest/methods.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171638 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-03 Ryan Haddad Mark scrollingcoordinator/ios/nested-fixed-layer-positions.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171628 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-03 Zalan Bujtas SearchInputType could end up with a mismatched renderer. https://bugs.webkit.org/show_bug.cgi?id=171547 Reviewed by Antti Koivisto. * fast/forms/change-input-type-and-submit-form-crash-expected.txt: Added. * fast/forms/change-input-type-and-submit-form-crash.html: Added. 2017-05-03 Ryan Haddad Mark media/modern-media-controls/slider/slider-styles.html as flaky on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=171629 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2017-05-03 Joseph Pecoraro LayoutTest http/tests/inspector/network/fetch-network-data.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=166038 Reviewed by Matt Baker. * platform/mac/TestExpectations: * http/tests/inspector/network/fetch-network-data.html: * http/tests/inspector/network/xhr-request-data-encoded-correctly.html: Use singleFireEventListener instead of awaitEvent so that the follow-up event handlers can be added synchronously instead of in a microtask. When the microtask happened later than other incoming events then the follow-up handlers would have been added too late. 2017-05-03 Matt Lewis Mark imported/w3c/web-platform-tests/html/webappapis/timers/negative-settimeout.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=170699. Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-03 Simon Fraser Have WKWebView call _updateVisibleContentRects for the current transaction if possible, rather than always delaying https://bugs.webkit.org/show_bug.cgi?id=171619 https://bugs.webkit.org/show_bug.cgi?id=170153 Reviewed by Tim Horton. These tests need to wait a bit for the scrolling state of the document to be updated. * fast/scrolling/ios/touch-scroll-pointer-events-none.html: * fast/scrolling/ios/touch-scroll-visibility-hidden.html: * platform/ios-wk2/TestExpectations: 2017-05-03 Yoav Weiss Link preload HTMLPreloadScanner support https://bugs.webkit.org/show_bug.cgi?id=170747 Reviewed by Youenn Fablet. * http/tests/preload/preloadscanner_download_resources-expected.txt: Added. * http/tests/preload/preloadscanner_download_resources.html: Added. 2017-05-03 Ryan Haddad Mark http/tests/preload/single_download_preload.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171331 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-03 Matt Lewis Mark perf/object-keys.html as flaky https://bugs.webkit.org/show_bug.cgi?id=171617 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-03 Keith Miller Different behaviour with the .sort(callback) method (unlike Firefox & Chrome) https://bugs.webkit.org/show_bug.cgi?id=47825 Reviewed by Saam Barati. Fix broken test. * http/tests/inspector/worker/blob-script-with-cross-domain-imported-scripts-expected.txt: 2017-05-03 Matt Lewis Mark http/tests/xmlhttprequest/supported-xml-content-types.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171613 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-03 Nan Wang AX: VO skips cells after cell with aria-colspan https://bugs.webkit.org/show_bug.cgi?id=171579 Reviewed by Chris Fleizach. * accessibility/mac/aria-grid-column-span-expected.txt: Added. * accessibility/mac/aria-grid-column-span.html: Added. 2017-05-03 Ryan Haddad Mark http/tests/websocket/tests/hybi/inspector/binary.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171553 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2017-05-03 Daniel Bates Detach frame from document when entering page cache https://bugs.webkit.org/show_bug.cgi?id=166774 Reviewed by Chris Dumez. * TestExpectations: Unskip tests. * fast/history/page-cache-after-window-open-expected.txt: Update expected result. * fast/history/page-cache-after-window-open.html: Ditto. * fast/history/page-cache-with-opener-expected.txt: Ditto. * fast/history/page-cache-with-opener.html: Update test given its new expected behavior. * fast/history/resources/page-cache-window-with-opener.html: Ditto. * http/tests/security/xss-DENIED-click-and-form-submission-from-inactive-domwindow-expected.txt: Added. * http/tests/security/xss-DENIED-click-and-form-submission-from-inactive-domwindow.html: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window-expected.txt: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window.html: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window2-expected.txt: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window2.html: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window3-expected.txt: Added. * http/tests/security/xss-DENIED-script-inject-into-inactive-window3.html: Added. 2017-05-03 Matt Lewis Marking three imported/w3c/web-platform-tests/webrtc test as flaky failures. https://bugs.webkit.org/show_bug.cgi?id=171605 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2017-05-03 Matt Lewis Marked test http/tests/local/blob/send-sliced-data-blob.html as flaky failure and timeout. https://bugs.webkit.org/show_bug.cgi?id=171564 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-03 Joanmarie Diggs AX: Treat cells with ARIA table cell properties as cells https://bugs.webkit.org/show_bug.cgi?id=171178 Reviewed by Chris Fleizach. * accessibility/minimal-table-with-aria-is-data-table-expected.txt: Added. * accessibility/minimal-table-with-aria-is-data-table.html: Added. * platform/gtk/accessibility/minimal-table-with-aria-is-data-table-expected.txt: Added. 2017-05-03 Andy VanWagoner [INTL] Support dashed values in unicode locale extensions https://bugs.webkit.org/show_bug.cgi?id=171480 Reviewed by JF Bastien. Added tests for calendar locale extensions that contain '-'. * js/intl-datetimeformat-expected.txt: * js/script-tests/intl-datetimeformat.js: 2017-05-03 Daniel Bates Abandon the current load once the provisional loader detaches from the frame https://bugs.webkit.org/show_bug.cgi?id=171577 Reviewed by Brent Fulgham. * fast/loader/inner-iframe-loads-data-url-into-parent-on-unload-crash-expected.txt: Added. * fast/loader/inner-iframe-loads-data-url-into-parent-on-unload-crash.html: Added. 2017-05-03 Carlos Garcia Campos Unreviewed GTK+ gardening. Update expectations of several tests. * platform/gtk/TestExpectations: 2017-05-03 Carlos Garcia Campos Unreviewed GTK+ gardening. Rebaseline inspector resource size tests. Libsoup doesn't provide the required information to fill all those size metrics. * platform/gtk/http/tests/inspector/network/resource-sizes-memory-cache-expected.txt: Added. * platform/gtk/http/tests/inspector/network/resource-sizes-network-expected.txt: Added. 2017-05-02 Simon Fraser Dynamically added position:fixed element is in the wrong place https://bugs.webkit.org/show_bug.cgi?id=170280 rdar://problem/31374008 Reviewed by Tim Horton. * scrollingcoordinator/ios/nested-fixed-layer-positions-expected.html: Added. * scrollingcoordinator/ios/nested-fixed-layer-positions.html: Added. 2017-05-02 Ryan Haddad Move flaky expectation for svg/animations/getCurrentTime-pause-unpause.html ios-wk1 to ios TestExpectations file. Unreviewed test gardening. * platform/ios-wk1/TestExpectations: * platform/ios/TestExpectations: 2017-05-02 Ryan Haddad Mark imported/w3c/web-platform-tests/WebCryptoAPI/derive_bits_keys/hkdf.worker.html as flaky on macOS. https://bugs.webkit.org/show_bug.cgi?id=170907 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2017-05-02 Zalan Bujtas Defer AX cache update when text content changes until after layout is finished. https://bugs.webkit.org/show_bug.cgi?id=171429 Reviewed by Simon Fraser. * accessibility/crash-while-adding-text-child-with-transform-expected.txt: Added. * accessibility/crash-while-adding-text-child-with-transform.html: Added. 2017-05-02 David Kilzer check-webkit-style should keep JavaScript test functions in sync Reviewed by Joseph Pecoraro. This change attempts to fix all whitespace issues in these two files (which are now identical and will be kept in sync by check-webkit-style): LayoutTests/http/tests/resources/js-test-pre.js LayoutTests/resources/js-test-pre.js It also syncs the implementation of shouldBe(), shouldNotBe(), shouldNotThrow() and shouldThrow() across the following files: JSTests/stress/resources/standalone-pre.js LayoutTests/http/tests/resources/js-test-pre.js LayoutTests/resources/js-test-pre.js LayoutTests/resources/js-test.js LayoutTests/resources/standalone-pre.js Only interesting (non-whitespace) changes are listed below. * http/tests/resources/js-test-pre.js: Copy from resources/js-test-pre.js. (shouldBe): Prefix 'exception' and 'quiet' variables with underscore. (shouldNotBe): Ditto. * resources/js-test-pre.js: (shouldBe): Prefix 'exception' and 'quiet' variables with underscore. (shouldNotBe): Ditto. * resources/js-test.js: (shouldBe): Prefix 'quiet' variable with underscore. Use stringify() when printing '_bv' value. * resources/standalone-pre.js: (shouldBe): Prefix 'exception' and 'quiet' variables with underscore. (shouldNotBe): Ditto. 2017-05-02 Joanmarie Diggs AX: Update implementation of aria-orientation https://bugs.webkit.org/show_bug.cgi?id=171166 Reviewed by Chris Fleizach. Moved the mac aria-orientation.html test to the shared tests and add several new test cases to it. Update the orientation-related assertion in two tests to reflect the ARIA 1.1 behavior. * accessibility/aria-orientation-expected.txt: Renamed from LayoutTests/accessibility/mac/aria-orientation-expected.txt. * accessibility/aria-orientation.html: Renamed from LayoutTests/accessibility/mac/aria-orientation.html. * accessibility/mac/slider-supports-actions.html: Updated. * accessibility/gtk/combobox-descendants-orientation-crash-expected.txt: Updated. 2017-05-02 Myles C. Maxfield REGRESSION (r211382): Partial right-to-left text runs are painted at an offset (breaks Find indicators, Look Up, and custom ::selection style) https://bugs.webkit.org/show_bug.cgi?id=169517 Reviewed by Dean Jackson. * fast/text/complex-text-selection-expected.html: Added. * fast/text/complex-text-selection.html: Added. * platform/ios/TestExpectations: 2017-05-02 Joseph Pecoraro [Mac] WK1: http/tests/inspector/network/resource-sizes tests are failing Unreviewed test gardening. * platform/mac-wk1/TestExpectations: Skip these tests on WebKit1. They depend on the NSURLSession loading path which is not used in WebKit1. 2017-05-02 Chris Dumez [macOS] Flaky Crash under EventTarget::fireEventListeners on imported/blink/paint/deprecatedpaintlayer/non-self-painting-layer-overrides-visibility.html https://bugs.webkit.org/show_bug.cgi?id=171406 Reviewed by Eric Carlson. Unskip test. * platform/mac/TestExpectations: 2017-05-02 Matt Lewis Marked test svg/animations/animated-svg-image-removed-from-document-paused.html as flaky failure. https://bugs.webkit.org/show_bug.cgi?id=171559 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-02 Matt Lewis Marked test imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/setRemoteDescription.html as flaky failure. https://bugs.webkit.org/show_bug.cgi?id=170818 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2017-05-02 Myles C. Maxfield Font Loading API specifies font is loaded but sizing of font after load reports inconsistent values https://bugs.webkit.org/show_bug.cgi?id=168533 Reviewed by Zalan Bujtas. * fast/text/font-loading-local-expected.txt: Added. * fast/text/font-loading-local.html: Added. * fast/text/web-font-load-fallback-during-loading.html: 2017-05-02 Youenn Fablet Allow media stream based videos with sound autoplay if the page is already playing sound https://bugs.webkit.org/show_bug.cgi?id=171447 Reviewed by Eric Carlson. * http/tests/media/autoplay-if-audio-is-playing-expected.txt: Added. * http/tests/media/autoplay-if-audio-is-playing.html: Added. * http/tests/media/resources/test-25fps.mp4: Added. 2017-05-02 Matt Lewis Marked test http/tests/xmlhttprequest/methods-async.html as flaky timeout. https://bugs.webkit.org/show_bug.cgi?id=171530 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-05-01 Zan Dobersek [GCrypt] ECDSA signing and verification support https://bugs.webkit.org/show_bug.cgi?id=171103 Reviewed by Carlos Garcia Campos. * platform/gtk/TestExpectations: Enable the passing ECDSA tests under crypto/subtle/. The ECDSA tests that utilize PKCS #8 and SPKI remain skipped since support for that hasn't landed yet. 2017-05-01 Zan Dobersek [GCrypt] HKDF bit derivation support https://bugs.webkit.org/show_bug.cgi?id=171074 Reviewed by Michael Catanzaro. The crypto/subtle/hkdf-derive-bits-length-limits.html test is added, testing the corner-case length values for which the bit derivation operation must succeed or fail for any specified SHA hash algorithm. With HashLen as the algorithm's output length, the operation should reject for lengths of 0 or above 255 * HashLen * 8. The operation should resolve for lengths between the two limits, with testing performed on lengths of 8 (the minimum output length), HashLen * 8 (matching the output length of the hash algorithm), and 255 * HashLen * 8 (the maximum derivation output length). * crypto/subtle/hkdf-derive-bits-length-limits-expected.txt: Added. * crypto/subtle/hkdf-derive-bits-length-limits.html: Added. * platform/gtk/TestExpectations: Enable the HKDF tests under crypto/subtle/. 2017-05-01 Zan Dobersek [GCrypt] ECDH bit derivation support https://bugs.webkit.org/show_bug.cgi?id=171070 Reviewed by Michael Catanzaro. The crypto/subtle/ecdh-derive-bits-length-limits.html test is added, testing the corner-case length values for which the bit derivation operation must succeed or fail. When specifying 0 as the length, the returned result must match the EC key size in length. 8, tested as the minimum non-zero value, and the key size for each key must also correctly resolve and return a resulting ArrayBuffer whose length in bytes must match the requested length. Derivations for byte-aligned values should start rejecting immediately for length values that are bigger than the EC key's length. * crypto/subtle/ecdh-derive-bits-length-limits-expected.txt: Added. * crypto/subtle/ecdh-derive-bits-length-limits.html: Added. * platform/gtk/TestExpectations: Enable Web Crypto ECDH tests under crypto/subtle/ that are passing now that the proper implementation has been added. The remaining failing ECDH tests use PKCS #8 and SPKI key import/export formats, which are not supported yet. 2017-05-01 Saam Barati REGRESSION: LayoutTest workers/wasm-hashset-many.html is a flaky timeout https://bugs.webkit.org/show_bug.cgi?id=171449 Unreviewed. * platform/win/TestExpectations: Skip Wasm tests on Windows. * workers/wasm-hashset-many-expected.txt: * workers/wasm-hashset/many-test.js: Make wasm-hashset-many run fewer workers. 2017-05-01 Youenn Fablet Ensure RealtimeOutgoingVideoSource sends a black frame when its related source is muted https://bugs.webkit.org/show_bug.cgi?id=171497 Reviewed by Eric Carlson. * webrtc/video-mute.html: Updating the test to make debugging clearer. 2017-05-01 Matt Lewis Marked LayoutTest/http/tests/preload/not_delaying_window_onload_before_discovery.html as flaky failure. https://bugs.webkit.org/show_bug.cgi?id=171528 Unreviewed test Gardening. * platform/ios-wk2/TestExpectations: 2017-05-01 Timothy Horton Expose viewport-fit instead of clip-to-safe-area https://bugs.webkit.org/show_bug.cgi?id=171503 Reviewed by Simon Fraser. * TestExpectations: * fast/css/variables/constants/ios/safe-area-inset-set-expected.html: * fast/css/variables/constants/ios/safe-area-inset-set.html: * fast/viewport/ios/viewport-fit-auto-expected.txt: Added. * fast/viewport/ios/viewport-fit-auto.html: Added. * fast/viewport/ios/viewport-fit-contain-expected.txt: Added. * fast/viewport/ios/viewport-fit-contain.html: Added. * fast/viewport/ios/viewport-fit-cover-expected.txt: Added. * fast/viewport/ios/viewport-fit-cover.html: Added. * tiled-drawing/ios/viewport-clip-to-safe-area-no-gets-margin-tiles-expected.txt: Removed. * tiled-drawing/ios/viewport-clip-to-safe-area-no-gets-margin-tiles.html: Removed. * tiled-drawing/ios/viewport-clip-to-safe-area-yes-gets-no-margin-tiles-expected.txt: Removed. * tiled-drawing/ios/viewport-clip-to-safe-area-yes-gets-no-margin-tiles.html: Removed. Remove clip-to-safe-area tests and add some viewport-fit tests. Also, adjust safe-area-inset-set to use the new UIScriptController setSafeAreaInset method. 2017-05-01 Chris Dumez Documents created using DOMParser.parseFromString should inherit their context document's origin / URL https://bugs.webkit.org/show_bug.cgi?id=171499 Reviewed by Sam Weinig. Add layout test coverage. I have verified that this test passes in both Firefox and Chrome. * fast/dom/domparser-parsefromstring-origin-expected.txt: Added. * fast/dom/domparser-parsefromstring-origin.html: Added. 2017-05-01 Ryan Haddad Mark inspector/debugger/tail-recursion.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=168387 Unreviewed test gardening. * platform/mac/TestExpectations: 2017-05-01 Ryan Haddad Rebaseline two fast/visual-viewport tests for iOS. Unreviewed test gardening. * platform/ios/fast/visual-viewport/zoomed-fixed-expected.txt: * platform/ios/fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: 2017-05-01 Joseph Pecoraro [GTK] Two test started to fail after due to unhandled promise rejection reported after r215916 https://bugs.webkit.org/show_bug.cgi?id=171491 Unreviewed test gardening. * js/promises-tests/promises-tests-2-3-3.html: Silence unhandled expectation messages for this test. * media/video-fullscreen-restriction-removed-expected.txt: Rebaseline expected results with unhandled expectation message. * platform/gtk/TestExpectations: 2017-05-01 Chris Fleizach AX: Support time@datetime for verbosity clarification of dates, times, and durations https://bugs.webkit.org/show_bug.cgi?id=171498 Reviewed by Joanmarie Diggs. * accessibility/datetime-attribute.html: Added. * accessibility/roles-computedRoleString-expected.txt: * platform/gtk/accessibility/datetime-attribute-expected.txt: Added. * platform/gtk/accessibility/roles-exposed-expected.txt: * platform/mac/accessibility/datetime-attribute-expected.txt: Added. * platform/mac/accessibility/roles-computedRoleString-expected.txt: * platform/mac/accessibility/roles-exposed-expected.txt: 2017-05-01 Matt Lewis Marked fast/mediastream/getUserMedia-webaudio.html as flaky timeout. https://bugs.webkit.org/show_bug.cgi?id=170960 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2017-05-01 Joseph Pecoraro RejectedPromiseTracker should produce better callstacks and avoid capturing callstacks unless there is a debugger/inspector https://bugs.webkit.org/show_bug.cgi?id=171416 Reviewed by Saam Barati and Brian Burg. * inspector/console/message-stack-trace-expected.txt: Added. * inspector/console/message-stack-trace.html: Added. Test console stack traces from various places where console messages are generated and the stacks are important. * inspector/console/resources/log-console-stack-trace.js: Added. (TestPage.registerInitializer.logCallFrame): (TestPage.registerInitializer.window.logConsoleMessageStackTrace): Like the logger for Debugger StackTrace but for Console StackTrace. * inspector/debugger/break-on-exception-throw-in-promise-expected.txt: * inspector/debugger/break-on-uncaught-exception-throw-in-promise-expected.txt: * fast/mediastream/MediaStream-MediaElement-setObject-null-expected.txt: * http/tests/security/video-cross-origin-caching-expected.txt: * js/dom/unhandled-promise-rejection-bindings-type-error-expected.txt: * js/dom/unhandled-promise-rejection-console-report-expected.txt: * js/promises-tests/promises-tests-2-2-6-expected.txt: * streams/reference-implementation/pipe-to-options-expected.txt: * streams/reference-implementation/readable-stream-templated-expected.txt: * streams/reference-implementation/writable-stream-abort-expected.txt: * streams/reference-implementation/writable-stream-expected.txt: * webrtc/libwebrtc/release-while-creating-offer-expected.txt: * webrtc/libwebrtc/release-while-setting-local-description-expected.txt: Rebaseline results. Better stack trace for errors includes correct line numbers. Explicit rejections with a value do not include backtraces without a debugger. 2017-05-01 Joseph Pecoraro LayoutTest/imported/w3c/web-platform-tests/resource-timing/rt-revalidate-requests.html is a flaky failure. https://bugs.webkit.org/show_bug.cgi?id=171511 Unreviewed test gardening. * TestExpectations: 2017-05-01 Ryan Haddad Update TestExpectations for http/tests/fetch/fetch-in-worker-crash.html. Unreviewed test gardening. * TestExpectations: 2017-05-01 Joanmarie Diggs [ATK] Expose values of aria-rowcount, aria-colcount, aria-rowindex, aria-colindex, aria-rowspan, and aria-colspan as object attributes https://bugs.webkit.org/show_bug.cgi?id=171496 Reviewed by Chris Fleizach. * platform/gtk/TestExpectations: Unskip accessibility/aria-table-attributes.html 2017-05-01 Ryan Haddad Rebaseline fast/visual-viewport/rtl-zoomed-rects.html for mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=171500 Unreviewed test gardening. * platform/mac-wk1/fast/visual-viewport/rtl-zoomed-rects-expected.txt: 2017-05-01 Matt Lewis Rebaselined fast/visual-viewport/ tests. https://bugs.webkit.org/show_bug.cgi?id=171500 Unreviewed test gardening. * platform/ios-wk2/fast/visual-viewport/nonzoomed-rects-expected.txt: * platform/ios-wk2/fast/visual-viewport/rtl-nonzoomed-rects-expected.txt: * platform/ios-wk2/fast/visual-viewport/rtl-zoomed-rects-expected.txt: * platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-expected.txt: * platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt: * platform/ios-wk2/fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt: * platform/ios-wk2/fast/visual-viewport/zoomed-fixed-expected.txt: Added. * platform/ios-wk2/fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: Added. * platform/ios-wk2/fast/visual-viewport/zoomed-rects-expected.txt: 2017-05-01 Chris Dumez Do not dispatch SVG load event in frameless documents https://bugs.webkit.org/show_bug.cgi?id=171505 Reviewed by Andreas Kling. Add layout test coverage. I have verified that this test passes on both Firefox and Chrome. * fast/dom/domparser-parsefromstring-svg-load-event-expected.txt: Added. * fast/dom/domparser-parsefromstring-svg-load-event.html: Added. 2017-05-01 Ryan Haddad Skip editing/execCommand/show-modal-dialog-during-execCommand.html on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=171501 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2017-05-01 Ryan Haddad Rebaseline js/dom/global-constructors-attributes.html after r215956. Unreviewed test gardening. * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt: * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt: * platform/mac/js/dom/global-constructors-attributes-expected.txt: 2017-05-01 Joanmarie Diggs AX: [GTK] Add support to query for aria-current https://bugs.webkit.org/show_bug.cgi?id=149016 Reviewed by Chris Fleizach. * platform/gtk/TestExpectations: Unskip now-passing test. 2017-05-01 Carlos Garcia Campos Unreviewed GTK+ gardening. Rebaseline giantRowspan tests after r215914. * platform/gtk/fast/table/giantRowspan-expected.txt: * platform/gtk/fast/table/giantRowspan2-expected.txt: 2017-05-01 Carlos Garcia Campos Unreviewed GTK+ gardening. Update expectations of several test. * platform/gtk/TestExpectations: 2017-05-01 Carlos Garcia Campos Unreviewed GTK+ gardening. Rebaseline several WPT fetch API tests. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/request-headers.any.worker-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/basic/scheme-about.any-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-basic.any.worker-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-no-preflight.any.worker-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any-expected.txt: Added. * platform/gtk/imported/w3c/web-platform-tests/fetch/api/cors/cors-origin.any.worker-expected.txt: Added. 2017-05-01 Joanmarie Diggs AX: AccessibilityTable::ariaRowCount() and ariaColumnCount() should not return -1 unless that is the author-provided value https://bugs.webkit.org/show_bug.cgi?id=171475 Reviewed by Chris Fleizach. * accessibility/table-detection-expected.txt: Updated. * accessibility/table-with-rules-expected.txt: Updated. 2017-05-01 Carlos Garcia Campos Unreviewed GTK+ gardening. Update expectations of several test. * platform/gtk/TestExpectations: 2017-05-01 Joanmarie Diggs AX: Implement support for ARIA "figure" and "term" roles; update AXRoleDescription mapping for "feed" role https://bugs.webkit.org/show_bug.cgi?id=171183 Reviewed by Chris Fleizach. New test cases added and expectations updated. * accessibility/gtk/xml-roles-exposed-expected.txt: * accessibility/gtk/xml-roles-exposed.html: * accessibility/roles-computedRoleString.html: * accessibility/roles-exposed.html: * platform/gtk/accessibility/roles-exposed-expected.txt: * platform/mac/accessibility/roles-computedRoleString-expected.txt: * platform/mac/accessibility/roles-exposed-expected.txt: 2017-04-30 Zalan Bujtas Initialize a new layout state while bailing out of simple line layout only when needed. https://bugs.webkit.org/show_bug.cgi?id=171481 Reviewed by Antti Koivisto. * fast/multicol/simple-line-layout-switch-to-normal-layout-while-inside-layout-expected.txt: Added. * fast/multicol/simple-line-layout-switch-to-normal-layout-while-inside-layout.html: Added. 2017-04-30 Joanmarie Diggs [ATK] Implement support for aria-autocomplete https://bugs.webkit.org/show_bug.cgi?id=171167 Reviewed by Chris Fleizach. * accessibility/gtk/aria-autocomplete-expected.txt: Added. * accessibility/gtk/aria-autocomplete.html: Added. 2017-04-30 Joanmarie Diggs [ATK] ARIA treegrid role should be exposed as ATK_ROLE_TREE_TABLE; not ATK_ROLE_TABLE https://bugs.webkit.org/show_bug.cgi?id=171170 Reviewed by Chris Fleizach. Add interface-table.html to verify that all roles which have tabular functionality implement AtkTable. Update other tests to reflect that the ARIA treegrid role maps to our internal TreeGridRole AccessibilityRole. * accessibility/gtk/interface-table-cell-expected.txt: Updated. * accessibility/gtk/interface-table-expected.txt: Added. * accessibility/gtk/interface-table.html: Added. * accessibility/roles-computedRoleString.html: Updated. * platform/gtk/accessibility/aria-selected-expected.txt: Updated. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated. * platform/mac/accessibility/roles-computedRoleString-expected.txt: Updated. 2017-04-30 Joanmarie Diggs [ATK] Emit object:state-changed:busy event when aria-busy value changes https://bugs.webkit.org/show_bug.cgi?id=171181 Reviewed by Chris Fleizach. New test. Also update the expectations for menu-list-unfocused-notifications.html because the addition of the handler for AXElementBusyChanged results in that notification being output in the test results. * accessibility/gtk/aria-busy-changed-notification-expected.txt: Added. * accessibility/gtk/aria-busy-changed-notification.html: Added. * accessibility/gtk/menu-list-unfocused-notifications-expected.txt: Updated. 2017-04-30 Oleksandr Skachkov [ES6]. Implement Annex B.3.3 function hoisting rules for eval https://bugs.webkit.org/show_bug.cgi?id=163208 Reviewed by Saam Barati. * inspector/runtime/evaluate-CommandLineAPI-expected.txt: * inspector/runtime/evaluate-CommandLineAPI.html: * js/parser-syntax-check-expected.txt: * js/script-tests/parser-syntax-check.js: 2017-04-29 Oleksandr Skachkov Deep nesting is leading to ReferenceError for hoisted function https://bugs.webkit.org/show_bug.cgi?id=171456 Reviewed by Yusuke Suzuki. * js/function-declaration-statement-expected.txt: * js/script-tests/function-declaration-statement.js: (deepNesting.foo): (deepNesting): (deepNestingForFunctionDeclaration.foo): (deepNestingForFunctionDeclaration): (eval.deepNestingInEval.foo): (eval.deepNestingInEval): (eval.deepNestingForFunctionDeclarationInEval.foo): (eval.deepNestingForFunctionDeclarationInEval): 2017-04-28 Zalan Bujtas iBooks text can overlap, sometimes columns are shifted splitting words. https://bugs.webkit.org/show_bug.cgi?id=171472 Reviewed by Antti Koivisto. * fast/text/simple-line-layout-glyph-overflows-line-expected.html: Added. * fast/text/simple-line-layout-glyph-overflows-line.html: Added. 2017-04-28 Per Arne Vollan Crash under WebCore::AccessibilityRenderObject::handleAriaExpandedChanged(). https://bugs.webkit.org/show_bug.cgi?id=171427 Reviewed by Brent Fulgham. * accessibility/accessibility-crash-setattribute-expected.txt: Added. * accessibility/accessibility-crash-setattribute.html: Added. 2017-04-28 Wenson Hsieh Unreviewed test gardening (Mac WK1) Mark a LayoutTest as PASS on Mac WK1. This test is currently skipped globally, but was meant to be enabled for WK1 on Mac. Followup to r213897. * platform/mac-wk1/TestExpectations: 2017-04-28 Joanmarie Diggs AX: ARIA "region" role which lacks an accessible name should not be treated as a landmark https://bugs.webkit.org/show_bug.cgi?id=171180 Reviewed by Chris Fleizach. Add new test cases to several tests so that we have coverage for both named and unnamed regions, which now have different mappings. In aria-namefrom-author.html, the region role was replaced with the table role because the test requires elements which have mapped ARIA roles and lack an author-provided name. A region which lacks an author-provided name is no longer mapped as an ARIA role as per the spec. Table was introduced in ARIA 1.1 and serves the same purpose with respect to what is being tested. * accessibility/aria-namefrom-author.html: * accessibility/gtk/xml-roles-exposed-expected.txt: * accessibility/gtk/xml-roles-exposed.html: * accessibility/mac/aria-grouping-roles.html: * accessibility/roles-computedRoleString.html: * accessibility/roles-exposed.html: * platform/gtk/accessibility/roles-exposed-expected.txt: * platform/mac/accessibility/roles-computedRoleString-expected.txt: * platform/mac/accessibility/roles-exposed-expected.txt: 2017-04-28 Joseph Pecoraro LayoutTests/js/dom/Promise-static-all/race.html are flakey - Unhandled Promise Rejection messages https://bugs.webkit.org/show_bug.cgi?id=171445 Unreviewed test gardening. * js/dom/Promise-static-all.html: Fix an accidentally commented out line. 2017-04-28 Matt Lewis Marked media/track/track-in-band-style.html as flaky timeout. https://bugs.webkit.org/show_bug.cgi?id=171465 Unreviewed test gardening. * platform/mac/TestExpectations: 2017-04-28 Dean Jackson App crashing: Dispatch queue: com.apple.root.user-interactive-qos / vBoxConvolve / WebCore::FEGaussianBlur::platformApplySoftware() https://bugs.webkit.org/show_bug.cgi?id=171461 Reviewed by Eric Carlson. Test a bunch of blurs a frame at a time. * css3/filters/blur-various-radii-expected.html: Added. * css3/filters/blur-various-radii.html: Added. 2017-04-28 Chris Dumez Stop using legacy ClientRect / ClientRectList in Internals https://bugs.webkit.org/show_bug.cgi?id=171412 Reviewed by Simon Fraser. Rebaseline existing tests as DOMRect has more properties than ClientRect. * fast/visual-viewport/nonzoomed-rects-expected.txt: * fast/visual-viewport/rtl-nonzoomed-rects-expected.txt: * fast/visual-viewport/rtl-zoomed-rects-expected.txt: * fast/visual-viewport/rubberbanding-viewport-rects-expected.txt: * fast/visual-viewport/rubberbanding-viewport-rects-extended-background-expected.txt: * fast/visual-viewport/rubberbanding-viewport-rects-header-footer-expected.txt: * fast/visual-viewport/zoomed-fixed-expected.txt: * fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: * fast/visual-viewport/zoomed-rects-expected.txt: * inspector/dom/hideHighlight-expected.txt: * inspector/dom/highlightQuad-expected.txt: * inspector/dom/highlightRect-expected.txt: 2017-04-28 Jeremy Jones ARGUMENT BAD: time, time >= 0 https://bugs.webkit.org/show_bug.cgi?id=164336 rdar://problem/29314891 Reviewed by Eric Carlson. Remove workaround that affected other tests. * media/modern-media-controls/pip-support/pip-support-click.html: 2017-04-28 Chris Dumez Range.getClientRects() / getBoundingClientRect() should return DOMRect types https://bugs.webkit.org/show_bug.cgi?id=171393 Reviewed by Simon Fraser. Add layout test coverage. * fast/dom/Range/getBoundingClientRect-getClientRects-return-type-expected.txt: Added. * fast/dom/Range/getBoundingClientRect-getClientRects-return-type.html: Added. 2017-04-28 Joseph Pecoraro LayoutTests/js/dom/Promise-static-all/race.html are flakey - Unhandled Promise Rejection messages https://bugs.webkit.org/show_bug.cgi?id=171445 Reviewed by Saam Barati. * js/dom/Promise-static-all.html: * js/dom/Promise-static-race.html: Silence the console messages for unhandled rejections in this test. There are unhandled rejections and messages sometimes appear depending on the order of events on the page. The messages are not important for this test so just mute them. 2017-04-28 Chris Dumez Unreviewed, skip imported/w3c/web-platform-tests/html/semantics/tabular-data/processing-model-1/span-limits.html in Debug builds This test is slow. * TestExpectations: 2017-04-28 Ryan Haddad Mark imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-idl.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171094 Unreviewed test gardening. * TestExpectations: 2017-04-28 Joanmarie Diggs [ATK] aria-modal="true" should be exposed via ATK_STATE_MODAL https://bugs.webkit.org/show_bug.cgi?id=171188 Reviewed by Chris Fleizach. * accessibility/gtk/aria-modal-state-exposed-expected.txt: Added. * accessibility/gtk/aria-modal-state-exposed.html: Added. 2017-04-28 Matt Lewis Rebaselining test after r215916. https://bugs.webkit.org/show_bug.cgi?id=171438 Unreviewed test gardening. * js/dom/global-constructors-attributes-dedicated-worker-expected.txt: * platform/mac-elcapitan/js/dom/global-constructors-attributes-expected.txt: * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt: * platform/mac/js/dom/global-constructors-attributes-expected.txt: 2017-04-28 Eric Carlson Implement ondevicechange https://bugs.webkit.org/show_bug.cgi?id=169872 Reviewed by Jer Noble. * fast/mediastream/device-change-event-expected.txt: Added. * fast/mediastream/device-change-event.html: Added. 2017-04-28 Joanmarie Diggs AX: Implement aria-value support for focusable separators https://bugs.webkit.org/show_bug.cgi?id=171169 Reviewed by Chris Fleizach. * accessibility/separator-values-expected.txt: Added. * accessibility/separator-values.html: Added. 2017-04-28 Joanmarie Diggs [ATK] GridCellRole should implement AtkTableCell (regression?) https://bugs.webkit.org/show_bug.cgi?id=171179 Reviewed by Chris Fleizach. * accessibility/gtk/interface-table-cell-expected.txt: Added. * accessibility/gtk/interface-table-cell.html: Added. 2017-04-28 Miguel Gomez REGRESSION(r215211): [GTK] Several webgl related tests are failing https://bugs.webkit.org/show_bug.cgi?id=170730 Reviewed by Said Abou-Hallawa. Adjust test expectations for the tests that were failing. They must pass now. * platform/gtk/TestExpectations: 2017-04-27 Andy VanWagoner [INTL] Implement the caseFirst option for Intl.Collator https://bugs.webkit.org/show_bug.cgi?id=158188 Reviewed by Geoffrey Garen. Updates the Intl.Collator tests to check caseFirst support. The caseFirst option or unicode locale extension lets the user explicitly set if lower or upper case characters should be first in order. * js/intl-collator-expected.txt: * js/script-tests/intl-collator.js: (testCollator): 2017-04-27 Joseph Pecoraro Support for promise rejection events (unhandledrejection) https://bugs.webkit.org/show_bug.cgi?id=150358 Reviewed by Saam Barati. Patch by Joseph Pecoraro and Yusuke Suzuki. * js/dom/unhandled-promise-rejection-basic-expected.txt: Added. * js/dom/unhandled-promise-rejection-basic.html: Added. * js/dom/unhandled-promise-rejection-bindings-type-error-expected.txt: Added. * js/dom/unhandled-promise-rejection-bindings-type-error.html: Added. * js/dom/unhandled-promise-rejection-console-no-report-expected.txt: Added. * js/dom/unhandled-promise-rejection-console-no-report.html: Added. * js/dom/unhandled-promise-rejection-console-report-expected.txt: Added. * js/dom/unhandled-promise-rejection-console-report.html: Added. * js/dom/unhandled-promise-rejection-handle-during-event-expected.txt: Added. * js/dom/unhandled-promise-rejection-handle-during-event.html: Added. * js/dom/unhandled-promise-rejection-handle-expected.txt: Added. * js/dom/unhandled-promise-rejection-handle-in-handler-expected.txt: Added. * js/dom/unhandled-promise-rejection-handle-in-handler.html: Added. * js/dom/unhandled-promise-rejection-handle.html: Added. * js/dom/unhandled-promise-rejection-order-expected.txt: Added. * js/dom/unhandled-promise-rejection-order.html: Added. New tests specific to the `onunhandledrejection` and `onrejectionhandled` events. * resources/testharnessreport.js: (self.testRunner.add_completion_callback.sanitize): (self.testRunner.add_completion_callback): Report results immediately and then finish the test after a turn. This way if the test ends with a pass, but may get unhandled rejections after completing which should not make the test appear as if it failed. Some tests have unhandled promise rejections but are expected to pass. Likewise some tests perform cleanup in their own completion callbacks, which happen after this initial completion callback, and we want to report results after all the work is done as it may eliminate non-deterministic debug test output. * TestExpectations: Mark some tests as flakey that have sometimes have unhandled promise rejections. These tests are all various imported tests that use the testharness. * fast/mediastream/MediaStream-MediaElement-setObject-null-expected.txt: * http/tests/security/video-cross-origin-caching-expected.txt: * inspector/debugger/break-on-exception-throw-in-promise-expected.txt: * inspector/debugger/break-on-uncaught-exception-throw-in-promise-expected.txt: * inspector/worker/resources-in-worker-expected.txt: * js/dom/dom-static-property-for-in-iteration-expected.txt: * js/dom/global-constructors-attributes-dedicated-worker-expected.txt: * js/promises-tests/promises-tests-2-2-6-expected.txt: * platform/mac/inspector/model/remote-object-expected.txt: * webrtc/libwebrtc/release-while-creating-offer-expected.txt: * webrtc/libwebrtc/release-while-setting-local-description-expected.txt: Update tests with unhandled promise rejection messages. * media/W3C/audio/events/event_pause_manual.html: * media/audio-playback-restriction-play-expected.txt: * media/audio-playback-restriction-play.html: * media/click-volume-bar-not-pausing.html: * media/remote-control-command-is-user-gesture-expected.txt: * media/remote-control-command-is-user-gesture.html: * media/track/track-mode.html: * media/video-autoplay-allowed-but-fullscreen-required.html: * media/video-display-none-crash.html: * media/video-main-content-deny-display-none.html: * media/video-main-content-deny-not-in-dom.html: * media/video-main-content-deny-not-visible.html: * media/video-main-content-deny-obscured.html: * media/video-main-content-deny-too-small.html: * media/video-multiple-concurrent-playback-expected.txt: * media/video-play-audio-require-user-gesture-expected.txt: * media/video-play-audio-require-user-gesture.html: * media/video-play-pause-events-expected.txt: * media/video-play-pause-events.html: * media/video-play-pause-exception-expected.txt: * media/video-play-pause-exception.html: * media/video-play-require-user-gesture-expected.txt: * media/video-play-require-user-gesture.html: * media/video-preload-expected.txt: * media/video-preload.html: * media/video-test.js: (handlePromise.handle): Snuff many possible unhandled promise rejections in media via media.play(). * streams/reference-implementation/pipe-to-expected.txt: * streams/reference-implementation/pipe-to-options-expected.txt: * streams/reference-implementation/readable-stream-templated-expected.txt: * streams/reference-implementation/writable-stream-abort-expected.txt: * streams/reference-implementation/writable-stream-expected.txt: These stream tests are out of date and produce unhandled rejections. * streams/shadowing-Promise.html: Update non-imported tests to prevent unhandled rejection messages. 2017-04-27 Chris Dumez Align colspan/rowspan limits with the latest HTML specification https://bugs.webkit.org/show_bug.cgi?id=171322 Reviewed by Darin Adler. Rebaseline a couple of rowspan tests now that our max limit has changed. * fast/table/giantRowspan2-expected.txt: * platform/ios/fast/table/giantRowspan-expected.txt: * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: * platform/mac/fast/table/giantRowspan-expected.txt: 2017-04-27 Matt Lewis Mark fast/mediacapturefromelement/CanvasCaptureMediaStream-2d-events.html as a flaky failure. https://bugs.webkit.org/show_bug.cgi?id=170835 Unreviewed test gardening. * TestExpectations: 2017-04-27 Matt Lewis Mark imported/blink/paint/deprecatedpaintlayer/non-self-painting-layer-overrides-visibility.html as a flaky crash. https://bugs.webkit.org/show_bug.cgi?id=171406 Unreviewed test gardening. * platform/mac/TestExpectations: 2017-04-27 Ryan Haddad Add missing expected file for fast/inline/simple-line-layout-16bit-content.html. https://bugs.webkit.org/show_bug.cgi?id=171379 Unreviewed test gardening. * fast/inline/simple-line-layout-16bit-content-expected-mismatch.html: Added. 2017-04-27 David Kilzer Enhance shouldBe()/shouldNotBe() to accept anonymous function arguments Reviewed by Joseph Pecoraro. This change makes it possible to pass either the first or second argument (or both) as anonymous functions into shouldBe() and shouldNotBe() to make it easy to capture local variables when writing tests. This is similar to the change in r202609 for Bug 159232 for shouldThrow() and shouldNotThrow(). Note that shouldBe()/shouldNotBe() from the following files were NOT updated since they were imported from other projects and did share the full WebKit history of resources/js-test-pre.js: http/tests/webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js js/mozilla/resources/js-test-pre.js webgl/1.0.2/resources/webgl_test_files/resources/js-test-pre.js webgl/1.0.3/resources/webgl_test_files/resources/js-test-pre.js However, these files WERE brought up-to-date with the ability to pass anonymous functions into shouldBe()/shouldNotBe() for this bug, and shouldThrow()/shouldNotThrow() which should have originally been fixed with Bug 159232: http/tests/resources/js-test-pre.js resources/standalone-pre.js * css3/scroll-snap/resources/iframe-content.html: Drive-by fix to debug message for copy-paste error. Found by searching LayoutTests directory for "expects string arguments". * fast/canvas/webgl/array-unit-tests-expected.txt: Update test results. * fast/canvas/webgl/array-unit-tests.html: Fix warning by making second argument to shouldBe() a string. * fast/css/script-tests/image-set-parsing.js: (testImageSetRule): Remove comment by changing second argument to shouldBe() into an anonymous function. * http/tests/resources/js-test-pre.js: (evalAndLog): (evalAndLogResult): (shouldBe): (shouldNotBe): (shouldEvaluateTo): - Made a full copy of resources/js-test-pre.js to bring this up to speed. Needs a checker written for it to keep them in sync. * http/tests/security/xssAuditor/block-does-not-leak-location-expected.txt: * http/tests/security/xssAuditor/block-does-not-leak-referrer-expected.txt: - Update line numbers after updating http/tests/resources/js-test-pre.js. * js/function-declarations-in-switch-statement-expected.txt: - Update results after fixing warnings. * js/script-tests/function-declarations-in-switch-statement.js: - Fix warnings by passing in strings to shouldBe(). * js/script-tests/stack-unwinding.js: - Update results after fixing warnings. * js/stack-unwinding-expected.txt: - Fix warnings by passing in strings to shouldBe(). * resources/js-test-pre.js: (shouldBe): (shouldNotBe): * resources/js-test.js: (shouldBe): (shouldNotBe): - Update shouldBe()/shouldNotBe() to accept anonymous function arguments. * resources/standalone-pre.js: (shouldBe): (shouldNotBe): (shouldNotThrow): (shouldThrow): - Update shouldBe()/shouldNotBe() to accept anonymous function arguments. - Also fix shouldThrow()/shouldNotThrow() to accept anonymous function arguments (which were missed in r202609 for Bug 159232). 2017-04-27 Chris Dumez Element.getBoundingClientRect() / getClientRects() should return a DOMRect types https://bugs.webkit.org/show_bug.cgi?id=171226 Reviewed by Simon Fraser. Update existing tests to reflect behavior change. * TestExpectations: * css3/flexbox/align-absolute-child-expected.txt: * fast/css/ClientRect-attributes-prototype-expected.txt: Removed. * fast/css/ClientRect-attributes-prototype.html: Removed. * fast/css/ClientRect-serialization-expected.txt: Removed. * fast/css/ClientRect-serialization.html: Removed. * fast/css/DOMRect-attributes-prototype-expected.txt: Added. * fast/css/DOMRect-attributes-prototype.html: Added. * fast/css/DOMRect-serialization-expected.txt: Added. * fast/css/DOMRect-serialization.html: Added. * fast/dom/Element/getClientRects-return-type-expected.txt: Added. * fast/dom/Element/getClientRects-return-type.html: Added. * fast/dom/collection-iterators-expected.txt: * fast/dom/collection-iterators.html: * fast/visual-viewport/zoomed-fixed-expected.txt: * fast/visual-viewport/zoomed-fixed-header-and-footer-expected.txt: * fast/zooming/client-rect-in-fixed-zoomed-expected.txt: * fast/zooming/client-rect-in-fixed-zoomed.html: * js/resources/JSON-stringify.js: 2017-04-27 Ryan Haddad Mark media/modern-media-controls/fullscreen-button/fullscreen-button.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171391 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2017-04-27 Ryan Haddad Mark http/tests/security/contentSecurityPolicy/source-list-parsing-05.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171389 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-04-27 Ryan Haddad Mark http/tests/xmlhttprequest/workers/methods.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=170181 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-04-27 Joanmarie Diggs AX: Expose elements with the ARIA "feed" role https://bugs.webkit.org/show_bug.cgi?id=171184 Reviewed by Chris Fleizach. Add "feed" role to roles-exposed.html, xml-roles-exposed.html, and roles-computedRoleString.html. Update expectations accordingly. * accessibility/gtk/xml-roles-exposed-expected.txt: * accessibility/gtk/xml-roles-exposed.html: * accessibility/roles-computedRoleString.html: * accessibility/roles-exposed.html: * platform/gtk/accessibility/roles-exposed-expected.txt: * platform/mac/accessibility/roles-computedRoleString-expected.txt: * platform/mac/accessibility/roles-exposed-expected.txt: 2017-04-27 Myles C. Maxfield REGRESSION(r214572): Update fast/text/variations/advances.html to understand normalized variation widths https://bugs.webkit.org/show_bug.cgi?id=171356 Reviewed by Dean Jackson. Unspecified 'wdth' axis values are being normalized because the font is a GX font. However, this font assumes no normalization, which means one of the comparisons in the test is bogus. * fast/text/variations/advances-expected.txt: * fast/text/variations/advances.html: * platform/ios/TestExpectations: * platform/mac/TestExpectations: 2017-04-27 Antti Koivisto Skip css3/viewport-percentage-lengths/vh-auto-size.html on WK1. Looks like use of auto-sizing leaves state behind in DRT. * platform/mac-wk1/TestExpectations: 2017-04-27 Ryan Haddad Mark media/modern-media-controls/buttons-container/buttons-container-buttons-property.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=167371 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2017-04-27 Ryan Haddad Mark webgl/1.0.2/conformance/glsl/misc/shader-with-reserved-words.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=170877 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2017-04-27 Zalan Bujtas Use text-shadow to visualize simple line layout coverage. https://bugs.webkit.org/show_bug.cgi?id=171379 Reviewed by Antti Koivisto. * fast/inline/simple-line-layout-16bit-content-expected-mismatch.html: Added. * fast/inline/simple-line-layout-16bit-content-expected.html: Removed. * fast/inline/simple-line-layout-16bit-content.html: 2017-04-27 Joanmarie Diggs [ATK] ARIA alertdialogs should be exposed with ROLE_DIALOG https://bugs.webkit.org/show_bug.cgi?id=171187 Reviewed by Chris Fleizach. * accessibility/aria-mappings-expected.txt: Updated. * accessibility/gtk/xml-roles-exposed-expected.txt: Updated. * platform/gtk/accessibility/roles-exposed-expected.txt: Updated. 2017-04-27 Myles C. Maxfield Make fast/text/complex-small-caps-non-bmp-capitalize.html more robust https://bugs.webkit.org/show_bug.cgi?id=171366 Reviewed by Alex Christensen. This test needs a font which supports Deseret but doesn't support small caps. Geneva is a better choice for such a font. * fast/text/complex-small-caps-non-bmp-capitalize-expected.html: * fast/text/complex-small-caps-non-bmp-capitalize.html: 2017-04-27 Antti Koivisto Repeated layouts in Mail due to viewport units being used with auto-sizing https://bugs.webkit.org/show_bug.cgi?id=171371 Reviewed by Zalan Bujtas. * css3/viewport-percentage-lengths/vh-auto-size-expected.html: Added. * css3/viewport-percentage-lengths/vh-auto-size.html: Added. 2017-04-27 Joanmarie Diggs AX: Inconsistent exposure of ARIA "button" role with non-false value of aria-haspopup https://bugs.webkit.org/show_bug.cgi?id=171204 Reviewed by Chris Fleizach. It turns out that this bug was fixed as a side effect of the changes made to fix WebKitGtk bug 171164 (r215821). But we didn't realize it due to the lack of an existing layout test covering the mappings for other platforms. The test created for the WebKitGtk port was modified and moved to the shared tests. Shared expectations are based on the Mac's mappings. * accessibility/button-with-aria-haspopup-role-expected.txt: Added. * accessibility/button-with-aria-haspopup-role.html: Renamed from LayoutTests/accessibility/gtk/button-with-aria-haspopup-is-not-a-combobox.html. * accessibility/gtk/button-with-aria-haspopup-is-not-a-combobox-expected.txt: Removed. * platform/gtk/accessibility/button-with-aria-haspopup-role-expected.txt: Added. 2017-04-27 Ryan Haddad Mark http/tests/local/blob/send-hybrid-blob-using-open-panel.html as flaky. https://bugs.webkit.org/show_bug.cgi?id=171353 Unreviewed test gardening. * platform/ios-wk2/TestExpectations: 2017-04-27 Frederic Wang Fix some tests from platform-tests/cssom-view/cssom-view/ https://bugs.webkit.org/show_bug.cgi?id=171228 Reviewed by Youenn Fablet. * TestExpectations: Unskip media-query-list-interface. 2017-04-27 Zalan Bujtas Text gets cut off when bailing out of simple line layout with widows. https://bugs.webkit.org/show_bug.cgi?id=171370 Reviewed by Antti Koivisto. * fast/multicol/simple-line-layout-widows-when-switching-over-to-normal-line-layout-expected.html: Added. * fast/multicol/simple-line-layout-widows-when-switching-over-to-normal-line-layout.html: Added. 2017-04-26 Chris Dumez Unreviewed, remove unnecessary expected result in platform/ios-wk2 * platform/ios-wk2/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: Removed. * platform/ios/imported/w3c/web-platform-tests/html/dom/reflection-embedded-expected.txt: 2017-04-26 Joseph Pecoraro Web Inspector: Uint8ClampedArray should be treated like an array, not an object https://bugs.webkit.org/show_bug.cgi?id=171364 Reviewed by Sam Weinig. * inspector/model/remote-object-expected.txt: * inspector/model/remote-object.html: * platform/mac/inspector/model/remote-object-expected.txt: Test a Uint8ClampedArray is treated like an array. 2017-04-26 Saam Barati ASSERTION FAILED: inIndex != notFound in JSC::invalidParameterInSourceAppender() https://bugs.webkit.org/show_bug.cgi?id=170924 Reviewed by Mark Lam. * js/let-syntax-expected.txt: 2017-04-26 Joanmarie Diggs [ATK] ARIA buttons which have a popup should be ATK_ROLE_PUSH_BUTTON; not ATK_ROLE_COMBO_BOX https://bugs.webkit.org/show_bug.cgi?id=171182 Reviewed by Chris Fleizach. * accessibility/gtk/button-with-aria-haspopup-is-not-a-combobox-expected.txt: Added. * accessibility/gtk/button-with-aria-haspopup-is-not-a-combobox.html: Added. 2017-04-26 Tim Horton Should not drag x-apple-data-detectors links https://bugs.webkit.org/show_bug.cgi?id=171352 Reviewed by Beth Dakin. * fast/events/do-not-drag-and-drop-data-detectors-link-expected.txt: Added. * fast/events/do-not-drag-and-drop-data-detectors-link.html: Added. 2017-04-26 Tim Horton Revert accidentally smushed commit. * TestExpectations: * fast/events/do-not-drag-and-drop-data-detectors-link-expected.txt: Removed. * fast/events/do-not-drag-and-drop-data-detectors-link.html: Removed. * platform/mac/TestExpectations: 2017-04-26 Matt Lewis Re-baseline inspector/dom/getAccessibilityPropertiesForNode.html after r215821 https://bugs.webkit.org/show_bug.cgi?id=171346 Unreviewed test gardening. * inspector/dom/getAccessibilityPropertiesForNode-expected.txt: 2017-04-26 Joanmarie Diggs [ATK] Elements with a defined, non-false value for aria-current should expose ATK_STATE_ACTIVE https://bugs.webkit.org/show_bug.cgi?id=171163 Reviewed by Chris Fleizach. * accessibility/gtk/aria-current-changed-notification-expected.txt: Added. * accessibility/gtk/aria-current-changed-notification.html: Added. * accessibility/gtk/aria-current-expected.txt: Added. * accessibility/gtk/aria-current.html: Added. 2017-04-26 Youenn Fablet LayoutTest webrtc/datachannel/bufferedAmountLowThreshold.html is a flaky failure https://bugs.webkit.org/show_bug.cgi?id=170701 Reviewed by Eric Carlson. * platform/mac-wk1/TestExpectations: Removing flaky expectation. * webrtc/datachannel/bufferedAmountLowThreshold-expected.txt: * webrtc/datachannel/bufferedAmountLowThreshold.html: 2017-04-26 Said Abou-Hallawa Restrict WebKit image formats to a known whitelist https://bugs.webkit.org/show_bug.cgi?id=170700 Reviewed by Tim Horton. * fast/images/image-formats-support-expected.txt: Added. * fast/images/image-formats-support.html: Added. * fast/images/resources/100x100-red-psd-renamed.png: Added. * fast/images/resources/100x100-red-tga-renamed.png: Added. * fast/images/resources/100x100-red.psd: Added. * fast/images/resources/100x100-red.tga: Added. 2017-04-26 Matt Lewis Mark swipe/main-frame-pinning-requirement.html as a flaky failure on mac-wk2. https://bugs.webkit.org/show_bug.cgi?id=170484 Reviewed by Alexey Proskuryakov. * platform/mac-wk2/TestExpectations: 2017-04-26 Chris Dumez Re-sync html/browsers/the-window-object web-platform-tests from upstream https://bugs.webkit.org/show_bug.cgi?id=171313 Reviewed by Alex Christensen. * tests-options.json: 2017-04-26 Joanmarie Diggs [ATK] Implement support for new ARIA 1.1 values of aria-haspopup https://bugs.webkit.org/show_bug.cgi?id=171164 Reviewed by Chris Fleizach. In addition to the new test, update xml-roles-exposed.html's expectations because the implicit value of aria-haspopup for the combobox role is now listbox, and that value should be exposed via an AtkObject attribute. * accessibility/gtk/aria-haspopup-expected.txt: Added. * accessibility/gtk/aria-haspopup.html: Added. * accessibility/gtk/xml-roles-exposed-expected.txt: 2017-04-26 Simon Fraser http/tests/frame-throttling tests failing on iOS https://bugs.webkit.org/show_bug.cgi?id=171314 rdar://problem/31691134 Reviewed by Chris Dumez. The tests use UIHelper.activateAt(), which in DumpRenderTree dispatches mouse events via EventSender, and in iOS WK2 uses UIScriptController to dispatch touch events. The former just use standard hit testing, which works fine. The latter go via Frame::qualifyingNodeAtViewportLocation(), which calls ancestorRespondingToClickEvents() and does area hit testing, and this fails to find anything clickable inside the