2016-12-12 Matt Baker Web Inspector: Breakpoint Log action should support template literals https://bugs.webkit.org/show_bug.cgi?id=165116 Reviewed by Joseph Pecoraro. * inspector/debugger/breakpoint-action-log-expected.txt: Added. * inspector/debugger/breakpoint-action-log.html: Added. Check that breakpoint log actions support template literal placeholders. * inspector/unit-tests/breakpoint-log-message-lexer-expected.txt: Added. * inspector/unit-tests/breakpoint-log-message-lexer.html: Added. Check that the lexer correctly scans breakpoint log action text. 2016-12-11 Simon Fraser REGRESSION (r200283): Transform, overflow hidden and filter combination completely hides the element https://bugs.webkit.org/show_bug.cgi?id=161509 Reviewed by David Hyatt. * css3/filters/filter-on-overflow-hidden-expected.html: Added. * css3/filters/filter-on-overflow-hidden.html: Added. 2016-12-11 Darin Adler Remove uses of Dictionary in WebRTC IDL files https://bugs.webkit.org/show_bug.cgi?id=165736 Reviewed by Sam Weinig. * fast/mediastream/RTCIceCandidate-expected.txt: Regenerated; no new failures. * fast/mediastream/RTCIceCandidate.html: Updated test to expect the WebIDL rules for parsing unsigned short for sdpMLineIndex. The old code expected additional range checking which is not expected behavior. * fast/mediastream/RTCPeerConnection-expected.txt: Regenerated; no new failures. * fast/mediastream/RTCPeerConnection.html: Updated test to not expect an exception when iceServers is entirely omitted or when it is an empty array. This is a progression and is closer to the specification. * fast/mediastream/RTCPeerConnection-getConfiguration-expected.txt: Regenerated; no new failures. * fast/mediastream/RTCPeerConnection-getConfiguration.html: Updated test to expect the username and credential fields to round trip as missing rather than turning from missing into empty strings. Also updated the tests to pass in sequences of strings for "urls" since they expect sequences on the way back out. We could also test round tripping of single strings, which should go in and come back out as individual strings, but for now I did not bother adding that to this test. * fast/mediastream/RTCSessionDescription-expected.txt: Regenerated; some exception messages are now more specific than they were before. * imported/w3c/web-platform-tests/webrtc/rtcpeerconnection/rtcpeerconnection-constructor-expected.txt: Updated expected results. The new code correctly allows callers of the RTCPeerConnection constructor to omit iceServers, pass undefined, or pass an empty array, as specified. Thuis change leads to a couple tests that now correctly pass instead of failing. And it also leads to some other tests failing that were passing before. These were passing because they expected an exception for some other reason, however the exception was actually occurring because of incorrect handling of iceServers. 2016-12-11 Jiewen Tan [WebCrypto] Add tests for wrap/unwrap SPKI/PKCS8 keys https://bugs.webkit.org/show_bug.cgi?id=165557 Reviewed by Darin Adler. * crypto/subtle/aes-cbc-import-key-unwrap-pkcs8-key-expected.txt: Added. * crypto/subtle/aes-cbc-import-key-unwrap-pkcs8-key.html: Added. * crypto/subtle/aes-cbc-import-key-unwrap-spki-key-expected.txt: Added. * crypto/subtle/aes-cbc-import-key-unwrap-spki-key.html: Added. * crypto/subtle/aes-cbc-import-key-wrap-pkcs8-key-expected.txt: Added. * crypto/subtle/aes-cbc-import-key-wrap-pkcs8-key.html: Added. * crypto/subtle/aes-cbc-import-key-wrap-spki-key-expected.txt: Added. * crypto/subtle/aes-cbc-import-key-wrap-spki-key.html: Added. 2016-12-11 Dan Bernstein [Cocoa] NSAttributedString representation of text copied from -webkit-nbsp-mode:space element contains non-breaking space characters, but shouldn’t https://bugs.webkit.org/show_bug.cgi?id=165515 Reviewed by Darin Adler. * platform/mac/fast/text/attributed-substring-from-range-expected.txt: Updated. 2016-12-10 Simon Fraser Support the deprecated dictionary constructor for DOMPointReadOnly and DOMPoint https://bugs.webkit.org/show_bug.cgi?id=165732 Reviewed by Sam Weinig. * geometry/DOMPoint-001-expected.txt: * geometry/DOMPoint-001.html: 2016-12-10 Simon Fraser Animation followed by transition doesn't always fire transitionend event https://bugs.webkit.org/show_bug.cgi?id=165731 rdar://problem/28471240 Reviewed by Zalan Bujtas. * animations/animation-followed-by-transition-expected.txt: Added. * animations/animation-followed-by-transition.html: Added. 2016-12-09 Sam Weinig [WebIDL] Remove custom bindings for Geolocation https://bugs.webkit.org/show_bug.cgi?id=165625 Reviewed by Alex Christensen. * fast/dom/Geolocation/argument-types-expected.txt: * fast/dom/Geolocation/not-enough-arguments-expected.txt: * fast/dom/Geolocation/script-tests/argument-types.js: Update tests for improved error messages / adherence to WebIDL. 2016-12-09 Dave Hyatt [CSS Parser] Remove the old CSS Parser https://bugs.webkit.org/show_bug.cgi?id=165645 Reviewed by Daniel Bates. * TestExpectations: Some canvas tests pass now that they use the new parser's color parsing. * fast/dom/HTMLFontElement/face-attribute-expected.txt: * fast/dom/HTMLFontElement/face-attribute.html: Converted font face parsing over to just use the CSS parser's font-family parsing. This matches other browsers, so removing cases that we used to accept now that we're more strict. * platform/mac/canvas/philip/tests/2d.fillStyle.parse.rgb-eof-expected.txt: * platform/mac/canvas/philip/tests/2d.fillStyle.parse.rgba-eof-expected.txt: These tests pass now that canvas uses the new parser's color parsing. * platform/ios-simulator/svg/custom/fill-SVGPaint-interface-expected.txt: Removed. * platform/mac/svg/custom/fill-SVGPaint-interface-expected.png: Removed. * platform/mac/svg/custom/fill-SVGPaint-interface-expected.txt: Removed. * svg/custom/fill-SVGPaint-interface.svg: Removed. Remove another test of the SVG CSS OM, since the SVG CSS OM for SVGPaint etc. is gone now. * platform/mac/js/dom/global-constructors-attributes-expected.txt: Rebaselined because of CSSNamespaceRule. 2016-12-10 Jiewen Tan [WebCrypto] RSA algorithms should allow importing keys without usages https://bugs.webkit.org/show_bug.cgi?id=165680 Reviewed by Brent Fulgham. * crypto/subtle/rsa-oaep-import-jwk-public-key-empty-usages-expected.txt: Added. * crypto/subtle/rsa-oaep-import-jwk-public-key-empty-usages.html: Added. * crypto/subtle/rsa-oaep-import-spki-key-empty-usages-expected.txt: Added. * crypto/subtle/rsa-oaep-import-spki-key-empty-usages.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-empty-usages-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-jwk-public-key-empty-usages.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-empty-usages-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-empty-usages.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-empty-usages-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-jwk-public-key-empty-usages.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-empty-usages-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-empty-usages.html: Added. 2016-12-09 Romain Bellessort [Readable Streams API] Implement ReadableByteStreamController desiredSize https://bugs.webkit.org/show_bug.cgi?id=165599 Reviewed by Darin Adler. Added test to check ReadableByteStreamController desiredSize value. * streams/readable-byte-stream-controller-expected.txt: Added expectation for new test. * streams/readable-byte-stream-controller.js: Added new test for desiredSize. 2016-12-09 Ryosuke Niwa document.pointerLockElement exposes a node inside a shadow tree https://bugs.webkit.org/show_bug.cgi?id=165702 Reviewed by Simon Fraser. Added tests for pointer locks inside a shadow root as well as one assigned to a slot. * fast/shadow-dom/pointerlockelement-in-shadow-tree-expected.txt: Added. * fast/shadow-dom/pointerlockelement-in-shadow-tree.html: Added. * fast/shadow-dom/pointerlockelement-in-slot-expected.txt: Added. * fast/shadow-dom/pointerlockelement-in-slot.html: Added. * platform/efl/TestExpectations: * platform/gtk/TestExpectations: * platform/ios-simulator/TestExpectations: 2016-12-09 Daniel Bates Add reflected nonce attribute to HTML Link element IDL https://bugs.webkit.org/show_bug.cgi?id=165709 Reviewed by Ryosuke Niwa. Add a test to ensure that we reflect the nonce attribute for the HTML link, script, and style elements. * fast/dom/nonce-attribute-reflection-expected.txt: Added. * fast/dom/nonce-attribute-reflection.html: Added. 2016-12-09 Ryan Haddad Marking inspector/debugger/csp-exceptions.html as flaky on mac-wk2. https://bugs.webkit.org/show_bug.cgi?id=165292 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2016-12-06 Jiewen Tan [Part 2 of 2] Add support for PKCS8 format while doing SubtleCrypto.importKey/exportKey https://bugs.webkit.org/show_bug.cgi?id=129978 Reviewed by Brent Fulgham. * crypto/subtle/import-key-malformed-parameters-expected.txt: * crypto/subtle/import-key-malformed-parameters.html: * crypto/subtle/rsa-export-key-malformed-parameters-expected.txt: * crypto/subtle/rsa-export-key-malformed-parameters.html: * crypto/subtle/rsa-import-jwk-key-export-pkcs8-key-expected.txt: Added. * crypto/subtle/rsa-import-jwk-key-export-pkcs8-key.html: Added. * crypto/subtle/rsa-import-jwk-key-export-spki-key-expected.txt: * crypto/subtle/rsa-import-jwk-key-export-spki-key.html: * crypto/subtle/rsa-import-key-malformed-parameters-expected.txt: * crypto/subtle/rsa-import-key-malformed-parameters.html: * crypto/subtle/rsa-import-pkcs8-key-export-jwk-key-expected.txt: Added. * crypto/subtle/rsa-import-pkcs8-key-export-jwk-key.html: Added. * crypto/subtle/rsa-import-pkcs8-key-export-pkcs8-key-expected.txt: Added. * crypto/subtle/rsa-import-pkcs8-key-export-pkcs8-key.html: Added. * crypto/subtle/rsa-oaep-generate-export-key-pkcs8-expected.txt: Added. * crypto/subtle/rsa-oaep-generate-export-key-pkcs8.html: Added. * crypto/subtle/rsa-oaep-import-pkcs8-key-expected.txt: Added. * crypto/subtle/rsa-oaep-import-pkcs8-key.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-pkcs8-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-pkcs8.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-pkcs8-key-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-pkcs8-key.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-pkcs8-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-pkcs8.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-pkcs8-key-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-pkcs8-key.html: Added. * crypto/workers/subtle/resources/rsa-export-pkcs8-key.js: Added. * crypto/workers/subtle/resources/rsa-import-pkcs8-key.js: Added. * crypto/workers/subtle/rsa-export-pkcs8-key-expected.txt: Added. * crypto/workers/subtle/rsa-export-pkcs8-key.html: Added. * crypto/workers/subtle/rsa-import-pkcs8-key-expected.txt: Added. * crypto/workers/subtle/rsa-import-pkcs8-key.html: Added. 2016-12-09 Joseph Pecoraro Web Inspector: Some resources fetched via Fetch API do not have data https://bugs.webkit.org/show_bug.cgi?id=165230 Reviewed by Alex Christensen. * http/tests/inspector/network/fetch-response-body-expected.txt: Added. * http/tests/inspector/network/fetch-response-body.html: Added. * http/tests/inspector/network/resources/data.html: Added. * http/tests/inspector/network/resources/data.json: Added. * http/tests/inspector/network/resources/data.svg: Added. * http/tests/inspector/network/resources/data.txt: Added. * http/tests/inspector/network/resources/echo.php: Added. * http/tests/inspector/network/xhr-response-body-expected.txt: Added. * http/tests/inspector/network/xhr-response-body.html: Added. Tests for viewing content of XHR and Fetch requested resources with different kinds of content. 2016-12-09 Ryosuke Niwa document.webkitFullscreenElement leaks elements inside a shadow tree https://bugs.webkit.org/show_bug.cgi?id=158471 Reviewed by Chris Dumez. Added tests for calling webkitFullscreenElement and webkitCurrentFullScreenElement on a fullscreened element to make sure they return the shadow host instead. Also added two unrelated test cases for temporal regressions I introduced while working on this patch. Skip the fullscreen tests on iOS WK2 since eventSender doesn't work there. * fast/shadow-dom/activeElement-for-focused-element-in-another-shadow-expected.txt: Added. * fast/shadow-dom/activeElement-for-focused-element-in-another-shadow.html: Added. * fast/shadow-dom/blur-on-shadow-host-with-focused-shadow-content-expected.txt: Added. * fast/shadow-dom/blur-on-shadow-host-with-focused-shadow-content.html: Added. * fast/shadow-dom/fullscreen-in-shadow-fullscreenElement-expected.txt: Added. * fast/shadow-dom/fullscreen-in-shadow-fullscreenElement.html: Added. * fast/shadow-dom/fullscreen-in-shadow-webkitCurrentFullScreenElement-expected.txt: Added. * fast/shadow-dom/fullscreen-in-shadow-webkitCurrentFullScreenElement.html: Added. * fast/shadow-dom/fullscreen-in-slot-fullscreenElement-expected.txt: Added. * fast/shadow-dom/fullscreen-in-slot-fullscreenElement.html: Added. * fast/shadow-dom/fullscreen-in-slot-webkitCurrentFullScreenElement-expected.txt: Added. * fast/shadow-dom/fullscreen-in-slot-webkitCurrentFullScreenElement.html: Added. * platform/ios-simulator-wk2/TestExpectations: 2016-12-09 Chris Dumez [Cocoa] Validation message for required checkbox doesn’t conform the the Apple Style Guide https://bugs.webkit.org/show_bug.cgi?id=165661 Reviewed by Dan Bernstein. Update / rebaseline tests. * fast/forms/ios/validation-bubble-dismiss-on-tap-expected.txt: * fast/forms/ios/validation-bubble-dismiss-on-tap.html: * fast/forms/validation-messages-expected.txt: * fast/forms/validation-messages.html: * platform/ios-simulator-wk2/fast/forms/validation-messages-expected.txt: 2016-12-09 Jiewen Tan Unreviewed, followup after r209598. * platform/mac-wk1/js/dom/global-constructors-attributes-expected.txt: 2016-12-09 Zalan Bujtas ASSERTION FAILED: !beforeChild->isRubyRun() in WebCore::RenderRubyAsBlock::addChild https://bugs.webkit.org/show_bug.cgi?id=141433 Reviewed by Dean Jackson. * fast/ruby/assert-with-listitem-and-block-ruby-expected.txt: Added. * fast/ruby/assert-with-listitem-and-block-ruby.html: Added. 2016-12-09 Antoine Quint [Modern Media Controls] Implement the pageScaleFactor property https://bugs.webkit.org/show_bug.cgi?id=165660 Reviewed by Dean Jackson. Add a new test to check that we correctly zoom and size the media controls when the page scale factor is a value other than 1. * media/modern-media-controls/media-controller/media-controller-scale-factor-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-scale-factor.html: Added. 2016-12-09 Ryan Haddad Unreviewed, rolling out r209574. This change broke the Windows build. Reverted changeset: "[WebIDL] Remove custom bindings for Geolocation" https://bugs.webkit.org/show_bug.cgi?id=165625 http://trac.webkit.org/changeset/209574 2016-12-09 Gustavo Noronha Silva Fedora also needs a PHP7 config file alternative https://bugs.webkit.org/show_bug.cgi?id=165606 Reviewed by Michael Catanzaro. * http/conf/fedora-httpd-2.4-php7.conf: Added. 2016-12-09 Ryosuke Niwa Custom Elements from a different document are not customized when created with innerHTML https://bugs.webkit.org/show_bug.cgi?id=165617 Reviewed by Antti Koivisto. Added a W3C style testharness.js test. * fast/custom-elements/adopting-from-frameless-document-expected.txt: Added. * fast/custom-elements/adopting-from-frameless-document.html: Added. 2016-12-09 Daniel Bates [CSP] Policy of window opener not applied to about:blank window https://bugs.webkit.org/show_bug.cgi?id=165531 Reviewed by Brent Fulgham. Add a test to ensure that an about:blank window inherits the CSP policy of its opener document. * http/tests/security/contentSecurityPolicy/image-blocked-in-about-blank-window-expected.txt: Added. * http/tests/security/contentSecurityPolicy/image-blocked-in-about-blank-window-blocked.html: Added. 2016-12-09 Antoine Quint [Modern Media Controls] Remaining time label first appears way to the left https://bugs.webkit.org/show_bug.cgi?id=165637 Reviewed by Dean Jackson. Add a new test that checks that marking a property as dirty during a layout correctly commits that property on the next frame. * media/modern-media-controls/layout-node/node-made-dirty-during-layout-expected.txt: Added. * media/modern-media-controls/layout-node/node-made-dirty-during-layout.html: Added. 2016-12-08 Jiewen Tan [WebCrypto] Remove NoInterfaceObject attribute from SubtleCrypto Interface https://bugs.webkit.org/show_bug.cgi?id=165629 Reviewed by Chris Dumez. * js/dom/global-constructors-attributes-dedicated-worker-expected.txt: * platform/mac/js/dom/global-constructors-attributes-expected.txt: * platform/mac-yosemite/js/dom/global-constructors-attributes-expected.txt: 2016-12-08 Antoine Quint [Modern Media Controls] Exiting fullscreen with paused media shows the start button https://bugs.webkit.org/show_bug.cgi?id=165640 Reviewed by Dean Jackson. Modify the existing test that enters fullscreen and returns to inline controls with paused media to check that the start button is not shown upon returning to inline controls. * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline-expected.txt: * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline.html: 2016-12-08 Myles C. Maxfield ASSERTION FAILED: locale in WebCore::lastHyphenLocation https://bugs.webkit.org/show_bug.cgi?id=164182 Reviewed by Zalan Bujtas. * fast/text/hyphenation-unknown-locale-expected.txt: Added. * fast/text/hyphenation-unknown-locale.html: Added. 2016-12-07 Ryosuke Niwa ASSERTION FAILED: m_items.isEmpty() in CustomElementReactionQueue destructor https://bugs.webkit.org/show_bug.cgi?id=162029 Reviewed by Chris Dumez. Added a regression test that reliably reproduces the crash in DumpRenderTree / WebKitTestRunner. Also added a W3C style testharness.js test for the behavior I broke in an earlier iteration of the patch. * fast/custom-elements/disconnected-callback-in-detached-iframe-expected.txt: Added. * fast/custom-elements/disconnected-callback-in-detached-iframe.html: Added. * fast/custom-elements/element-queue-during-document-destruction-expected.txt: Added. * fast/custom-elements/element-queue-during-document-destruction.html: Added. 2016-12-08 Ryan Haddad Marking compositing/rtl/rtl-fixed-overflow.html as failing on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=165541 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-12-08 Daniel Bates Implement Strict Mixed Content Checking https://bugs.webkit.org/show_bug.cgi?id=165438 Reviewed by Brent Fulgham and Andy Estes. Add tests to ensure that we do not regress strict mixed content checking. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/data-url-iframe-in-main-frame.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/duplicate-directive-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/duplicate-directive.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe-report-only.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-css-in-main-frame.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-iframe-in-main-frame.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-blob-url-iframe-in-iframe-expected.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-blob-url-iframe-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-enforced-and-report-policies.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe-with-inherited-policy.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-javascript-url-iframe-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-main-frame.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-image-in-xslt-document-in-iframe-with-inherited-policy.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-plugin-in-main-frame.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe-with-inherited-policy.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-script-in-main-frame.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-asynchronous-in-main-frame.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/insecure-xhr-synchronous-in-main-frame.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/dump-securitypolicyviolation-and-notify-done.js: Added. (logMessage): (securityPolicyViolationToString): (checkNotify): (recordSecurityPolicyViolation): (window.onload): * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/fail.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-data-url-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-css-report-only.php: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-css.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-and-without-policy.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-in-blob-url-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-in-javascript-url-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image-with-enforced-and-report-policies.php: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-image.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-plugin.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-script.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-insecure-xhr.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-secure-image-after-upgrade-redirect.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/frame-with-secure-image-after-upgrade.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/red-square.png: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/resources/transform-functions.xsl: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-in-iframe.html: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe-expected.txt: Added. * http/tests/security/contentSecurityPolicy/block-all-mixed-content/secure-image-after-upgrade-redirect-in-iframe.html: Added. * platform/ios-simulator/TestExpectations: Skip plugin tests as plugins are not supported on iOS. 2016-12-08 Sam Weinig [WebIDL] Remove custom bindings for Geolocation https://bugs.webkit.org/show_bug.cgi?id=165625 Reviewed by Alex Christensen. * fast/dom/Geolocation/argument-types-expected.txt: * fast/dom/Geolocation/not-enough-arguments-expected.txt: * fast/dom/Geolocation/script-tests/argument-types.js: Update tests for improved error messages / adherence to WebIDL. 2016-12-08 Dave Hyatt [CSS Parser] Unskip passing flexbox tests https://bugs.webkit.org/show_bug.cgi?id=165626 Reviewed by Dean Jackson. * TestExpectations: 2016-12-08 Dave Hyatt @supports fails combinations of conjuctions, disjunctions, and negations of simple conditions https://bugs.webkit.org/show_bug.cgi?id=137566 Reviewed by Dean Jackson. * TestExpectations: Test passes now with new @supports parser. 2016-12-08 Dave Hyatt [CSS Parser] Add strict checking for right parens to selector functions like :matches, :not etc. https://bugs.webkit.org/show_bug.cgi?id=165624 Reviewed by Dean Jackson. * TestExpectations: 2016-12-08 Jiewen Tan [WebCrypto] Replace webkitSubtle with subtle for all crypto/workers/subtle/ tests https://bugs.webkit.org/show_bug.cgi?id=165540 Reviewed by Brent Fulgham. * crypto/workers/subtle/aes-postMessage-worker.html: * crypto/workers/subtle/hmac-postMessage-worker.html: * crypto/workers/subtle/hrsa-postMessage-worker-expected.txt: * crypto/workers/subtle/hrsa-postMessage-worker.html: * crypto/workers/subtle/multiple-postMessage-worker.html: * crypto/workers/subtle/resources/hrsa-postMessage-worker.js: * crypto/workers/subtle/rsa-postMessage-worker.html: 2016-12-08 Ryan Haddad Rebaseline some css tests for ios-simulator. Unreviewed test gardening. * platform/ios-simulator/fast/css/font_property_normal-expected.txt: * platform/ios-simulator/fast/css/image-set-unprefixed-expected.txt: 2016-12-08 Dave Hyatt [CSS Parser] Unskip grid tests https://bugs.webkit.org/show_bug.cgi?id=165623 Reviewed by Zalan Bujtas. * TestExpectations: * fast/css-grid-layout/grid-auto-flow-get-set-expected.txt: * fast/css-grid-layout/grid-auto-flow-get-set.html: * fast/css-grid-layout/grid-columns-rows-get-set-expected.txt: * fast/css-grid-layout/grid-template-shorthand-get-set-expected.txt: * fast/css-grid-layout/grid-template-shorthand-get-set.html: * fast/css-grid-layout/non-grid-columns-rows-get-set-expected.txt: * fast/css-grid-layout/resources/grid-columns-rows-get-set.js: * fast/css-grid-layout/resources/non-grid-columns-rows-get-set.js: 2016-12-08 Zalan Bujtas Overlapping text at AppleSeed forum's footer. https://bugs.webkit.org/show_bug.cgi?id=165613 Reviewed by Simon Fraser. This is a test case for r207219. * fast/text/float-with-sibling-text-overlaps-when-text-decoration-changes-expected.html: Added. * fast/text/float-with-sibling-text-overlaps-when-text-decoration-changes.html: Added. 2016-12-08 Dave Hyatt [CSS Parser] Unskip background parsing tests https://bugs.webkit.org/show_bug.cgi?id=165619 Reviewed by Zalan Bujtas. * TestExpectations: * fast/backgrounds/background-position-parsing-2-expected.txt: * fast/backgrounds/background-position-parsing-2.html: * fast/backgrounds/background-shorthand-after-set-backgroundSize-expected.txt: * fast/backgrounds/background-shorthand-after-set-backgroundSize.html: * fast/backgrounds/background-shorthand-with-backgroundSize-style-expected.txt: * fast/backgrounds/background-shorthand-with-backgroundSize-style.html: 2016-12-08 Joseph Pecoraro Web Inspector: Unable to delete breakpoint from worker script https://bugs.webkit.org/show_bug.cgi?id=165578 Reviewed by Matt Baker. * inspector/worker/debugger-shared-breakpoint-expected.txt: Added. * inspector/worker/debugger-shared-breakpoint.html: Added. Ensure setting / removing a breakpoint affects all Workers that share a resource with the same URL. * inspector/worker/resources/worker-debugger-pause.js: Add an echo command that will be useful to ensure Workers are not paused. 2016-12-08 Ryan Haddad Rebaseline fast/selectors/nth-last-child-bounds.html after r209548. Unreviewed test gardening. * fast/selectors/nth-child-bounds-expected.txt: 2016-12-08 Jeremy Jones pointer lock should exit when a js alert is shown https://bugs.webkit.org/show_bug.cgi?id=165423 rdar://problem/29430803 Reviewed by Jer Noble. * platform/mac/TestExpectations: * pointer-lock/lock-lost-on-alert-expected.txt: Added. * pointer-lock/lock-lost-on-alert.html: Added. 2016-12-08 Sam Weinig [WebIDL] WebGLContextAttributes should be a dictionary https://bugs.webkit.org/show_bug.cgi?id=165572 Reviewed by Dean Jackson. * fast/canvas/webgl/context-creation-attributes-expected.txt: Update test results. 2016-12-05 Sam Weinig [WebIDL] Add support for converting dictionaries to JS https://bugs.webkit.org/show_bug.cgi?id=165367 Reviewed by Darin Adler and Alex Christensen. * crypto/subtle/rsa-oaep-generate-key-expected.txt: * crypto/subtle/rsa-oaep-generate-key.html: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-expected.txt: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable-expected.txt: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable.html: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key.html: * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-expected.txt: * crypto/subtle/rsassa-pkcs1-v1_5-generate-key.html: * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key-expected.txt: * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key.html: * crypto/webkitSubtle/rsa-oaep-key-manipulation-expected.txt: * crypto/webkitSubtle/rsa-oaep-key-manipulation.html: * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-expected.txt: * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt: * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html: * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key.html: * crypto/workers/subtle/resources/rsa-generate-key.js: * crypto/workers/subtle/rsa-generate-key-expected.txt: Update tests and expected results to show that CryptoKeyPair is now a vanilla object, not a platform object. 2016-12-08 Dave Hyatt [CSS Parser] Unskip/remove more tests https://bugs.webkit.org/show_bug.cgi?id=165611 Reviewed by Zalan Bujtas. * TestExpectations: * fast/css/parse-color-int-or-percent-crash.html: * fast/css/string-quote-binary-expected.txt: Removed. * fast/css/string-quote-binary.html: Removed. * fast/masking/parsing-mask-expected.txt: * fast/masking/parsing-mask.html: * fast/selectors/nth-child-bounds.html: * fast/selectors/nth-last-child-bounds-expected.txt: * fast/selectors/nth-last-child-bounds.html: * fast/text/text-combine-crash.html: 2016-12-08 Dave Hyatt [CSS Parser] Unskip more tests https://bugs.webkit.org/show_bug.cgi?id=165610 Reviewed by Zalan Bujtas. * TestExpectations: * fast/css/css-selector-text-expected.txt: * fast/css/css-selector-text.html: * fast/css/css-set-selector-text-expected.txt: * fast/css/css-set-selector-text.html: * fast/css/parsing-css-nth-child-expected.txt: * fast/css/parsing-css-nth-child.html: 2016-12-08 Zalan Bujtas Do not create multicolumn context for certain type of renderers. https://bugs.webkit.org/show_bug.cgi?id=135601 Reviewed by David Hyatt. * fast/multicol/no-multicol-for-textareas-expected.txt: Added. * fast/multicol/no-multicol-for-textareas.html: Added. 2016-12-08 Dave Hyatt [CSS Parser] Unskip more tests https://bugs.webkit.org/show_bug.cgi?id=165609 Reviewed by Zalan Bujtas. A note on the parsing-css-attribute-* tests. These tests attempted to test namespaces, but you really can't do that easily. A @namespace rule is only valid within the scope of its stylesheet, and the test was assuming the namespace would apply outside of the stylesheet scope. The old parser would not properly reject prefixes that didn't point to any valid namespace, and so it was possible to test prefixes. The new parser rejects these invalid prefixes, so just remove the namespace component of these two tests. * TestExpectations: * fast/css/attr-parsing-expected.txt: * fast/css/attr-parsing.html: * fast/css/invalid-cursor-property-crash.html: * fast/css/parsing-css-attribute-case-insensitive-value-1.html: * fast/css/parsing-css-attribute-case-insensitive-value-2.html: * fast/shadow-dom/slotted-pseudo-element-css-text-expected.txt: 2016-12-08 Dave Hyatt [CSS Parser] Unskip more tests https://bugs.webkit.org/show_bug.cgi?id=165608 Reviewed by Zalan Bujtas. * TestExpectations: * fast/css/font-property-priority-expected.txt: * fast/css/image-set-unprefixed.html: * fast/css/parsing-text-emphasis-expected.txt: * fast/css/parsing-text-emphasis.html: * fast/css/uri-token-parsing-expected.txt: * fast/css/uri-token-parsing.html: * platform/mac/fast/css/font_property_normal-expected.txt: 2016-12-08 Dave Hyatt [CSS Parser] REGRESSION: Values of 0 should not be allowed for -webkit-aspect-ratio https://bugs.webkit.org/show_bug.cgi?id=165607 Reviewed by Simon Fraser. * TestExpectations: 2016-12-08 Dave Hyatt [CSS Parser] Unskip more tests https://bugs.webkit.org/show_bug.cgi?id=165605 Reviewed by Zalan Bujtas. * TestExpectations: * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex-expected.txt: * fast/dom/Window/getMatchedCSSRules-with-pseudo-elements-complex.html: * fast/selectors/querySelector-pseudo-element-expected.txt: * fast/selectors/querySelector-pseudo-element-inside-functional-pseudo-class-any-expected.txt: * fast/selectors/querySelector-pseudo-element-inside-functional-pseudo-class-any.html: * fast/selectors/querySelector-pseudo-element.html: 2016-12-08 Dave Hyatt [CSS Parser] Unskip more tests https://bugs.webkit.org/show_bug.cgi?id=165604 Reviewed by Zalan Bujtas. * TestExpectations: 2016-12-08 Dave Hyatt [CSS Parser] Unskip more tests https://bugs.webkit.org/show_bug.cgi?id=165602 Reviewed by Zalan Bujtas. * TestExpectations: * fast/css/remove-shorthand-expected.txt: * fast/css/transform-inline-style-expected.txt: * fast/regions/region-styling/parsing-region-style-rule.html: * fast/shapes/parsing/parsing-shape-image-threshold-expected.txt: * fast/shapes/parsing/parsing-shape-image-threshold.html: * fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt: * fast/shapes/shape-outside-floats/shape-outside-animation.html: * platform/mac/svg/webarchive/svg-cursor-subresources-expected.txt: * svg/webarchive/svg-cursor-subresources.svg: * transitions/transitions-parsing-expected.txt: * transitions/transitions-parsing.html: 2016-12-08 Antti Koivisto :after and :before don't work on :host https://bugs.webkit.org/show_bug.cgi?id=164675 Reviewed by Andreas Kling. * fast/shadow-dom/shadow-host-with-before-after-expected.html: Added. * fast/shadow-dom/shadow-host-with-before-after.html: Added. 2016-12-08 Ryosuke Niwa REGRESSION (r209490): [ios-simulator] LayoutTest fast/shadow-dom/media-shadow-manipulation.html is failing https://bugs.webkit.org/show_bug.cgi?id=165590 Unreviewed. Revert r209490 on this test and make the check conditional since iOS and Mac implements video element differently. In any case, these tests aren't testing anything useful after r209486. We should consider removing them or make them use internals.shadowRoot instead in a near term. * fast/shadow-dom/media-shadow-manipulation-expected.txt: * fast/shadow-dom/media-shadow-manipulation.html: 2016-12-07 Dave Hyatt [CSS Parser] Remove font test that tests something nobody supports https://bugs.webkit.org/show_bug.cgi?id=165596 Reviewed by Zalan Bujtas. Remove this test that thinks "default" should be a special keyword in fonts. No other browser treat this as special. Our old parser did, but it's just from some reading of ancient CSS2 specs and not for any real-world reason. * TestExpectations: * fast/css/font-family-parse-keyword.html: Removed. * fast/css/font-family-parse-keyword-expected.html: Removed. 2016-12-07 Dave Hyatt REGRESSION: font shorthand parsing is broken https://bugs.webkit.org/show_bug.cgi?id=165594 Reviewed by Zalan Bujtas. * TestExpectations: * fast/css/font-shorthand-html-expected.txt: 2016-12-07 Jeremy Jones Exit pointer lock when page goes into page cache. https://bugs.webkit.org/show_bug.cgi?id=165425 rdar://problem/29430834 Reviewed by Jer Noble. * platform/mac/TestExpectations: * pointer-lock/lock-lost-on-navigation-expected.txt: Added. * pointer-lock/lock-lost-on-navigation.html: Added. * pointer-lock/resources/lock-lost-on-navigation2.html: Added. 2016-12-07 Dave Hyatt [CSS Parser] Unskip calc() tests https://bugs.webkit.org/show_bug.cgi?id=165583 Reviewed by Zalan Bujtas. * TestExpectations: * fast/css/flex-shrink-calculated-value-expected.txt: * fast/css/flex-shrink-calculated-value.html: * fast/css/negative-calc-values-expected.txt: * fast/css/negative-calc-values.html: * fast/css/text-shadow-calc-value-expected.txt: * fast/css/text-shadow-calc-value.html: * fast/css/webkit-line-clamp-calculated-value-expected.txt: * fast/css/webkit-line-clamp-calculated-value.html: * fast/css/z-index-calculated-value-expected.txt: * fast/css/z-index-calculated-value.html: 2016-12-07 Antoine Quint [Modern Media Controls] Tracks panel does not display in the right location in fullscreen and cannot be dismissed https://bugs.webkit.org/show_bug.cgi?id=165575 Reviewed by Dean Jackson. Add new tests to check we correctly position the tracks panel in fullscreen, including when we drag the controls bar. * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls-expected.txt: Added. * media/modern-media-controls/tracks-support/tracks-support-show-panel-after-dragging-controls.html: Added. * media/modern-media-controls/tracks-support/tracks-support-show-panel-fullscreen-expected.txt: Added. * media/modern-media-controls/tracks-support/tracks-support-show-panel-fullscreen.html: Added. 2016-12-07 Jeremy Jones pointer-lock/lock-lost-on-esc-in-fullscreen.html timeout on mac-wk1 https://bugs.webkit.org/show_bug.cgi?id=165589 Unreviewed skipping test that is timing out. * platform/mac-wk1/TestExpectations: 2016-12-07 Ryan Haddad Fix the filename for a newly added test expectation file. Unreviewed test gardening. * tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top-expected.txt: Renamed from LayoutTests/tiled-drawing/scrolling/scroll-snap/scroll-snap-scrolling-jumps-to-top.txt. 2016-12-07 Antoine Quint [Modern Media Controls] Use a small picture-in-picture button in fullscreen https://bugs.webkit.org/show_bug.cgi?id=165587 Reviewed by Dean Jackson. Rebaseline tests to account for the smaller picture-in-picture button in fullscreen. * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html: 2016-12-07 Ryan Haddad Marking inspector/debugger/async-stack-trace.html as flaky on macOS. https://bugs.webkit.org/show_bug.cgi?id=165584 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-07 Ryan Haddad Marking inspector/worker/debugger-scripts.html as flaky on mac-wk2. https://bugs.webkit.org/show_bug.cgi?id=165582 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2016-12-07 Dave Hyatt [CSS Parser] Unskip media tests https://bugs.webkit.org/show_bug.cgi?id=165580 Reviewed by Jon Lee. The new parser will still create rules for hover/pointer queries with unknown identifiers. Patch the tests to account for this. * TestExpectations: * fast/media/mq-any-hover-invalid-expected.txt: * fast/media/mq-any-hover-invalid.html: * fast/media/mq-any-pointer-invalid-expected.txt: * fast/media/mq-any-pointer-invalid.html: * fast/media/mq-hover-invalid-expected.txt: * fast/media/mq-hover-invalid.html: * fast/media/mq-pointer-invalid-expected.txt: * fast/media/mq-pointer-invalid.html: 2016-12-07 Dean Jackson Remove runtime toggle for pointer-lock https://bugs.webkit.org/show_bug.cgi?id=165577 Reviewed by Jon Lee. Remove any runtime calls to check if pointer-lock is enabled. It's either compiled in or out. * platform/mac/TestExpectations: Enable the pointer-lock tests that should work. * pointer-lock/pointer-lock-api.html: Fix a bad DOM call. * pointer-lock/pointerlock-interface-disabled-expected.txt: Removed. * pointer-lock/pointerlock-interface-disabled.html: Removed. 2016-12-07 Dave Hyatt [CSS Parser] Unskip gradients tests https://bugs.webkit.org/show_bug.cgi?id=165576 Reviewed by Dean Jackson. Keywords like left, center, top, right and bottom are preserved when serializing in the new parser. * TestExpectations: * fast/gradients/css3-gradient-parsing-expected.txt: * fast/gradients/css3-gradient-parsing.html: * fast/gradients/unprefixed-gradient-parsing-expected.txt: * fast/gradients/unprefixed-gradient-parsing.html: 2016-12-07 John Wilander Allow commas in Accept, Accept-Language, and Content-Language request headers for simple CORS https://bugs.webkit.org/show_bug.cgi?id=165566 Reviewed by Alex Christensen. * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html: Added ',' to the tests as well as two examples from two sites where we found a regression. 2016-12-07 Dave Hyatt [CSS Parser] Stop skipping tests in the css3 LayoutTests subdirectory https://bugs.webkit.org/show_bug.cgi?id=165574 Reviewed by Dean Jackson. * TestExpectations: Stop skipping two tests. * css3/font-variant-parsing-expected.txt: * css3/font-variant-parsing.html: Patched to yield the correct results when multiple values are specified for the same sub-property. * css3/supports-cssom-expected.txt: * css3/supports-cssom.html: Patched to account for the new result for @namespace insertion failure (see corresponding WebCore ChangeLog for explanation), and also patched to get rid of excess whitespace, since the new parser doesn't preserve whitespace formatting when serializing @supports. 2016-12-07 Jiewen Tan Unreviewed, Skip imported/w3c/WebCryptoAPI/generateKey/test_failures.html This is a superset test for all test_failures*.html. No need for it as we run all the sub tests. * TestExpectations: 2016-12-07 Antoine Quint [Modern Media Controls] Remove aspect ratio button https://bugs.webkit.org/show_bug.cgi?id=165571 Reviewed by Dean Jackson. We no longer have an AspectRatioButton. * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button-expected.txt: Removed. * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button.html: Removed. * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-styles.html: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-constructor.html: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-right-container-margin.html: 2016-12-07 Jeremy Jones One esc to exit fullscreen and pointer lock https://bugs.webkit.org/show_bug.cgi?id=165416 rdar://problem/29430711 Reviewed by Jer Noble. * platform/mac-wk2/TestExpectations: * pointer-lock/lock-lost-on-esc-in-fullscreen-expected.txt: Added. * pointer-lock/lock-lost-on-esc-in-fullscreen.html: Added. 2016-12-07 Dave Hyatt [CSS Parser] Remove tests that depend on SVG CSS OM that has been removed https://bugs.webkit.org/show_bug.cgi?id=165565 Reviewed by Jon Lee. * TestExpectations: * svg/dom/SVGColor-expected.txt: Removed. * svg/dom/SVGColor.html: Removed. * svg/dom/SVGPaint-expected.txt: Removed. * svg/dom/SVGPaint.html: Removed. * svg/dom/rgb-color-parser-expected.txt: Removed. * svg/dom/rgb-color-parser.html: Removed. 2016-12-07 Ryan Haddad Marking compositing/layer-creation/fixed-overlap-extent-rtl.html as failing on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=165541 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-12-07 Dave Hyatt [CSS Parser] Consolidate string/ident/url serialization functions https://bugs.webkit.org/show_bug.cgi?id=165552 Reviewed by Zalan Bujtas. * fast/css/content-language-only-whitespace-expected.txt: * fast/css/content-language-with-whitespace-expected.txt: 2016-12-07 Ryan Haddad Marking imported/mathml-in-html5/mathml/presentation-markup/fractions/frac-parameters-1.html as flaky on El Capitan WK2. https://bugs.webkit.org/show_bug.cgi?id=165392 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2016-12-07 Joseph Pecoraro Web Inspector: Add ability to distinguish if a Script was parsed as a module https://bugs.webkit.org/show_bug.cgi?id=164900 Reviewed by Timothy Hatcher. * inspector/model/parse-script-syntax-tree-expected.txt: * inspector/model/parse-script-syntax-tree.html: * inspector/model/resources/module.js: Added. (import.string_appeared_here.myModule): * inspector/model/resources/other-module.js: Added. (myOtherModule): * inspector/model/resources/program.js: Added. (myProgram): * inspector/model/script-sourceType-expected.txt: Added. * inspector/model/script-sourceType.html: Added. 2016-12-07 Joseph Pecoraro Web Inspector: Update Esprima to support new features / syntax (**, async/await, trailing comma) https://bugs.webkit.org/show_bug.cgi?id=164830 Reviewed by Timothy Hatcher. * inspector/formatting/resources/javascript-tests/arrow-functions-expected.js: * inspector/formatting/resources/javascript-tests/arrow-functions.js: * inspector/formatting/resources/javascript-tests/classes-expected.js: * inspector/formatting/resources/javascript-tests/classes.js: * inspector/formatting/resources/javascript-tests/functions-expected.js: * inspector/formatting/resources/javascript-tests/functions.js: * inspector/formatting/resources/javascript-tests/other-statements-expected.js: * inspector/formatting/resources/javascript-tests/other-statements.js: * inspector/formatting/resources/javascript-tests/unary-binary-expressions-expected.js: * inspector/formatting/resources/javascript-tests/unary-binary-expressions.js: * inspector/model/parse-script-syntax-tree-expected.txt: * inspector/model/parse-script-syntax-tree.html: Coverage for new supported syntax. 2016-12-07 Ryosuke Niwa Rebaseline tests after r209486. Also updated media-shadow-manipulation.html now that range is null. * fast/shadow-dom/color-input-element-shadow-manipulation-expected.txt: * fast/shadow-dom/file-input-element-shadow-manipulation-expected.txt: * fast/shadow-dom/media-shadow-manipulation-expected.txt: * fast/shadow-dom/media-shadow-manipulation.html: * fast/shadow-dom/range-input-element-shadow-manipulation-expected.txt: * fast/shadow-dom/textarea-shadow-manipulation-expected.txt: 2016-12-07 Ryan Haddad Marking two compositing tests as failing. https://bugs.webkit.org/show_bug.cgi?id=165530 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: * platform/mac/TestExpectations: 2016-12-07 Zalan Bujtas ASSERTION FAILED: count >= 1 in WebCore::RenderMultiColumnSet::columnCount https://bugs.webkit.org/show_bug.cgi?id=136365 Reviewed by Simon Fraser. * fast/multicol/assert-on-column-count-when-zoomed-in-expected.txt: Added. * fast/multicol/assert-on-column-count-when-zoomed-in.html: Added. 2016-12-07 Ryosuke Niwa document.caretRangeFromPoint doesn't retarget the resultant Range correctly. https://bugs.webkit.org/show_bug.cgi?id=165146 Reviewed by Sam Weinig. Added a regression test for caretRangeFromPoint retargeting the result. * fast/shadow-dom/caret-range-from-point-in-shadow-tree-expected.txt: Added. * fast/shadow-dom/caret-range-from-point-in-shadow-tree.html: Added. 2016-12-07 Antoine Quint [Modern Media Controls] Entering fullscreen and returning to inline shows fullscreen controls https://bugs.webkit.org/show_bug.cgi?id=165536 Reviewed by Tim Horton. Add a new test that checks we're using the right media controls presentation as we enter and exit fullscreen. * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-inline.html: Added. 2016-12-07 Wenson Hsieh Scroll position jumps to the origin when scrolling without momentum at the end of a scroll snapping container https://bugs.webkit.org/show_bug.cgi?id=165474 Reviewed by Simon Fraser. Added a new test verifying that if a scroll gesture ends without momentum at the bottom of a scroll snapping container, the scroll position won't jump to the top. * tiled-drawing/scrolling/scroll-snap/scrolling-jumps-to-top-expected.txt: Added. * tiled-drawing/scrolling/scroll-snap/scrolling-jumps-to-top.html: Added. 2016-12-07 Simon Fraser REGRESSION (r209447): LayoutTests compositing/layer-creation/fixed-position-out-of-view-scaled.html and compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html failing https://bugs.webkit.org/show_bug.cgi?id=165530 New baseline for WK1 (which has RTL/compositing isseus), and mark a test as flakey in WK1. * platform/mac-wk1/TestExpectations: * platform/mac-wk1/compositing/layer-creation/fixed-overlap-extent-rtl-expected.txt: Added. 2016-12-07 Nan Wang AX: menu type toolbar should be mapped correctly on Mac https://bugs.webkit.org/show_bug.cgi?id=165537 Reviewed by Chris Fleizach. * accessibility/mac/menu-type-toolbar-expected.txt: Added. * accessibility/mac/menu-type-toolbar.html: Added. 2016-12-07 Geoffrey Garen Fixed a test failure seen in web-timing-minimal-performance-now.html https://bugs.webkit.org/show_bug.cgi?id=165542 Reviewed by Beth Dakin. This test was always slightly wrong, but it is much more likely to fail as of . * fast/dom/Window/web-timing-minimal-performance-now.html: < is not a correct test for monotonicity. < tests for stricly increasing. <= is a correct test for monotonicity. All computer clocks have some granularity, so computer clocks are monotonic but not strictly increasing: you can sample the clock twice in the same tick. 2016-12-07 Joseph Pecoraro Web Inspector: Remove unused and mostly untested Page domain commands and events https://bugs.webkit.org/show_bug.cgi?id=165507 Reviewed by Brian Burg. * inspector/page/javascriptDialogEvents-expected.txt: Removed. * inspector/page/javascriptDialogEvents.html: Removed. * platform/gtk/TestExpectations: * platform/mac/TestExpectations: Remove test skipped by all platforms. 2016-12-07 Dave Hyatt Fix a bad result that I landed by accident. * fast/css/object-position/parsing-object-position-expected.txt: 2016-12-07 Dave Hyatt [CSS Parser] Turn back on a bunch of layout tests https://bugs.webkit.org/show_bug.cgi?id=165529 Reviewed by Zalan Bujtas. * TestExpectations: * css3/parsing-css3-nthchild-expected.txt: * css3/parsing-css3-nthchild.html: * css3/scroll-snap/scroll-snap-position-values-expected.txt: * css3/scroll-snap/scroll-snap-position-values.html: * editing/execCommand/insert-list-with-noneditable-content-expected.txt: * fast/css/object-position/parsing-object-position-expected.txt: * fast/css/object-position/parsing-object-position.html: * fast/css/parsing-css-number-types-expected.txt: * fast/css/parsing-css-wrap-expected.txt: * fast/css/script-tests/transform-origin-parsing.js: * fast/css/transform-inline-style-remove-expected.txt: * fast/css/transform-origin-parsing-expected.txt: * fast/css/variables/custom-property-dynamic-update-expected.html: * fast/events/mouse-cursor-expected.txt: * fast/inspector-support/style-expected.txt: * platform/mac/svg/webarchive/svg-script-subresouces-expected.txt: 2016-12-07 Ryan Haddad Rebaseline fast/table/003.html after r209421. https://bugs.webkit.org/show_bug.cgi?id=165513 Unreviewed test gardening. * platform/ios-simulator/fast/table/003-expected.txt: 2016-12-06 Antoine Quint [Modern Media Controls] Use tap and pinch gestures on iOS https://bugs.webkit.org/show_bug.cgi?id=165518 Reviewed by Dean Jackson. With the addition of new gesture recognizer source files, some tests were failing due to linking to only a subset of the modern media controls resources. * media/modern-media-controls/airplay-button/airplay-button.html: * media/modern-media-controls/aspect-ratio-button/aspect-ratio-button.html: * media/modern-media-controls/button/button.html: * media/modern-media-controls/buttons-container/buttons-container-buttons-property.html: * media/modern-media-controls/buttons-container/buttons-container-constructor.html: * media/modern-media-controls/buttons-container/buttons-container-layout.html: * media/modern-media-controls/fullscreen-button/fullscreen-button.html: * media/modern-media-controls/icon-button/icon-button-active-state.html: * media/modern-media-controls/icon-button/icon-button.html: * media/modern-media-controls/mute-button/mute-button.html: * media/modern-media-controls/pip-button/pip-button.html: * media/modern-media-controls/placard/placard.html: * media/modern-media-controls/play-pause-button/play-pause-button.html: * media/modern-media-controls/skip-back-button/skip-back-button.html: * media/modern-media-controls/start-button/start-button-styles.html: * media/modern-media-controls/start-button/start-button.html: * media/modern-media-controls/tracks-button/tracks-button.html: 2016-12-06 Ryan Haddad Marking http/tests/security/module-incorrect-mime-types.html as flaky on ios-simulator-wk2. https://bugs.webkit.org/show_bug.cgi?id=165344 Unreviewed test gardening. * platform/ios-simulator-wk2/TestExpectations: 2016-12-06 Simon Fraser Two tiled drawing tests failing with visual viewports enabled. https://bugs.webkit.org/show_bug.cgi?id=165489 Reviewed by Dean Jackson. Unfail and rebaseline. * platform/mac-wk2/TestExpectations: * tiled-drawing/scrolling/frames/coordinated-frame-expected.txt: * tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt: 2016-12-06 Wenson Hsieh After preventing a beforeinput event, an input event is fired when formatting rich text https://bugs.webkit.org/show_bug.cgi?id=165435 Reviewed by Ryosuke Niwa. Augmented a layout test to verify that when preventing beforeinput events, a corresponding input event is not fired in addition to the style not being applied to the text. * fast/events/before-input-prevent-biu.html: 2016-12-06 Simon Fraser Fix behavior of background-attachment:fixed with visual viewports https://bugs.webkit.org/show_bug.cgi?id=165465 Fixed backgrounds are working correctly. Unskip and land a new image result for this test. * TestExpectations: * tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.png: 2016-12-06 Mark Lam GetByID IC is wrongly unwrapping the global proxy this value for getter/setters. https://bugs.webkit.org/show_bug.cgi?id=165401 Reviewed by Saam Barati. Set the test loose now that this bug is fixed. * TestExpectations: * js/script-tests/prototype-assignment.js: 2016-12-06 Dean Jackson Apply styling to media documents with modern controls https://bugs.webkit.org/show_bug.cgi?id=165499 Reviewed by Antoine Quint. Make sure that the small test video has the correct background, and is not anchored to the top left of the page. * media/modern-media-controls/media-documents/background-color-and-centering-expected.html: Added. * media/modern-media-controls/media-documents/background-color-and-centering.html: Added. 2016-12-05 Jiewen Tan [Part 1 of 2] Add support for SPKI format while doing SubtleCrypto.importKey/exportKey https://bugs.webkit.org/show_bug.cgi?id=129978 Reviewed by Brent Fulgham. * crypto/subtle/import-key-malformed-parameters-expected.txt: * crypto/subtle/import-key-malformed-parameters.html: * crypto/subtle/rsa-export-key-malformed-parameters-expected.txt: * crypto/subtle/rsa-export-key-malformed-parameters.html: * crypto/subtle/rsa-import-jwk-key-export-spki-key-expected.txt: Added. * crypto/subtle/rsa-import-jwk-key-export-spki-key.html: Added. * crypto/subtle/rsa-import-key-malformed-parameters-expected.txt: * crypto/subtle/rsa-import-key-malformed-parameters.html: * crypto/subtle/rsa-import-spki-key-export-jwk-key-expected.txt: Added. * crypto/subtle/rsa-import-spki-key-export-jwk-key.html: Added. * crypto/subtle/rsa-import-spki-key-export-spki-key-expected.txt: Added. * crypto/subtle/rsa-import-spki-key-export-spki-key.html: Added. * crypto/subtle/rsa-import-spki-small-key-expected.txt: Added. * crypto/subtle/rsa-import-spki-small-key.html: Added. * crypto/subtle/rsa-oaep-generate-export-key-spki-expected.txt: Added. * crypto/subtle/rsa-oaep-generate-export-key-spki.html: Added. * crypto/subtle/rsa-oaep-import-spki-key-expected.txt: Added. * crypto/subtle/rsa-oaep-import-spki-key.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-spki-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-generate-export-key-spki.html: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key-expected.txt: Added. * crypto/subtle/rsaes-pkcs1-v1_5-import-spki-key.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-spki-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-generate-export-key-spki.html: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key-expected.txt: Added. * crypto/subtle/rsassa-pkcs1-v1_5-import-spki-key.html: Added. * crypto/workers/subtle/resources/rsa-export-spki-key.js: Added. * crypto/workers/subtle/resources/rsa-import-spki-key.js: Added. * crypto/workers/subtle/rsa-export-spki-key-expected.txt: Added. * crypto/workers/subtle/rsa-export-spki-key.html: Added. * crypto/workers/subtle/rsa-import-spki-key-expected.txt: Added. * crypto/workers/subtle/rsa-import-spki-key.html: Added. 2016-12-06 Antoine Quint [Modern Media Controls] Media controls use the fullscreen layout after going from inline to fullscreen to PiP to inline https://bugs.webkit.org/show_bug.cgi?id=165494 Reviewed by Dean Jackson. Add a new tests that goes from inline to fullscreen to PiP to inline and checks the controls have the right type on the way. * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-pip-to-inline-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-inline-to-fullscreen-to-pip-to-inline.html: Added. 2016-12-06 Antoine Quint [Modern Media Controls] Rendering issues with controls bar when captions are on https://bugs.webkit.org/show_bug.cgi?id=165390 Reviewed by Dean Jackson. We add a new test that checks we have the expected element structure with a single
containing the captions and the media controls elements. Three other tests needed updating since they made assumptions on the DOM structure that were no longer holding. * media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen-expected.txt: * media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen.html: * media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html: * media/modern-media-controls/media-controller/media-controller-resize.html: * media/modern-media-controls/media-controller/media-controller-single-container-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-single-container.html: Added. 2016-12-06 Antoine Quint [Modern Media Controls] Automatically hide the controls bar when the mouse is idle https://bugs.webkit.org/show_bug.cgi?id=165492 Reviewed by Dean Jackson. We add new tests to check the following scenarios: 1. media-controller-auto-hide-mouse-enter-and-mouse-leave.html checks that, during media playback, as the mouse enters the media the controls bar becomes visible, and as the mouse exits the media, the controls bar becomes faded. 2. media-controller-auto-hide-mouse-enter-over-controls-bar.html checks that, during media playback, as the mouse enters the media and remains idle over the controls bar, the controls bar remain visible. 3. media-controller-auto-hide-mouse-leave-after-play.html checks that when the media goes from paused to playing, having the mouse enter and leave the media does not hide the media controls until the initial auto-hide timer started as the playback status changed has elapsed. 4. media-controller-auto-hide-pause.html checks that the controls bar remains visible as the media is paused. 5. media-controller-auto-hide-rewind-with-mouse-enter.html checks that the controls bar becomes visible as the mouse enters the media. 6. media-controller-auto-hide.html checks that the controls bar becomes faded after the auto-hide timer has elapsed after initial playback. * media/modern-media-controls/media-controller/media-controller-auto-hide-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-and-mouse-leave-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-and-mouse-leave.html: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-enter-over-controls-bar.html: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-mouse-leave-after-play.html: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-pause-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-pause.html: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-rewind-with-mouse-enter-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide-rewind-with-mouse-enter.html: Added. * media/modern-media-controls/media-controller/media-controller-auto-hide.html: Added. 2016-12-06 Daniel Bates Test fast/selectors/040.html fails on iOS Simulator following (https://bugs.webkit.org/show_bug.cgi?id=79694) Skip test fast/selectors/040.html as we do not visually highlight a programmatic selection on iOS from observation. * platform/ios-simulator/TestExpectations: 2016-12-06 Zalan Bujtas Can not select whole line when using flexbox https://bugs.webkit.org/show_bug.cgi?id=165299 Reviewed by David Hyatt. * fast/flexbox/flexbox-fail-to-select-same-line-expected.html: Added. * fast/flexbox/flexbox-fail-to-select-same-line.html: Added. 2016-12-06 Jer Noble YouTube sometimes pauses when switching tabs https://bugs.webkit.org/show_bug.cgi?id=165468 Reviewed by Eric Carlson. * media/media-session-restrictions.html: Added. * platform/ios-simulator/media/media-session-restrictions-expected.txt: Added. * platform/mac/media/media-session-restrictions-expected.txt: Added. 2016-12-06 Mark Lam Introduce the concept of Immutable Prototype Exotic Objects to comply with the spec. https://bugs.webkit.org/show_bug.cgi?id=165227 Reviewed by Saam Barati. The new prototype-assignment.js test is currently only enabled for LLInt only run in the JSC tests until webkit.org/b/165401 is fixed. * TestExpectations: - Skip js/prototype-assignment.html for now until webkit.org/b/165401 is fixed. * http/tests/security/window-named-valueOf-expected.txt: * js/dom/proxy-is-not-allowed-in-global-prototype-chain-expected.txt: * js/dom/proxy-is-not-allowed-in-global-prototype-chain.html: - Updated error messages. * js/prototype-assignment-expected.txt: Added. * js/prototype-assignment.html: Added. * js/script-tests/prototype-assignment.js: Added. (else): (reportError): (shouldEqual): (shouldThrow): (stringify): (makeTestID): (doInternalSetPrototypeOf): (ordinarySetPrototypeOf): (setImmutablePrototype): (windowProxySetPrototypeOf): (initSetterExpectation): (throwIfNoExceptionPending): (objectSetPrototypeOf): (setUnderscoreProto): (reflectSetPrototypeOf): (newObjectProto.toString): (this.testObject.targets.push.value): (this.testProxy.targets.push.setPrototypeOf): (Symbol): (test): (runTests): * js/setPrototypeOf-expected.txt: 2016-12-06 Dave Hyatt REGRESSION (Safari 10): Scrolling not working inside height 100% table https://bugs.webkit.org/show_bug.cgi?id=164366 Reviewed by Zalan Bujtas. * fast/table/overflow-percent-height-regression-expected.html: Added. * fast/table/overflow-percent-height-regression.html: Added. 2016-12-06 Ryan Haddad Rebaseline fast/shadow-dom/slotted-pseudo-element-css-text.html after r209396. Unreviewed test gardening. * fast/shadow-dom/slotted-pseudo-element-css-text-expected.txt: 2016-12-06 Simon Fraser Mark two tiled-drawing tests as flakey. Layout viewport rect computation has issues in subframes, covered by https://bugs.webkit.org/show_bug.cgi?id=165489. * platform/mac-wk2/TestExpectations: * tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt: * tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt: 2016-12-06 Dave Hyatt REGRESSION (r209396): animations/font-variations/font-variation-settings* tests timing out https://bugs.webkit.org/show_bug.cgi?id=165475 Reviewed by Myles C. Maxfield. The new parser only allows strings for @keyframe names when @-webkit-keyframe is used. Patch the tests to use identifiers instead. * animations/font-variations/font-variation-settings-order.html: * animations/font-variations/font-variation-settings-unlike.html: * animations/font-variations/font-variation-settings.html: 2016-12-05 Simon Fraser Improve the behavior of scroll-into-view when the target is inside position:fixed https://bugs.webkit.org/show_bug.cgi?id=165354 Reviewed by Zalan Bujtas. * fast/overflow/scroll-anchor-in-position-fixed-expected.txt: Added. * fast/overflow/scroll-anchor-in-position-fixed.html: Added. * fast/transforms/selection-bounds-in-transformed-view.html: * fast/visual-viewport/zoomed-scroll-into-view-fixed-expected.txt: Added. * fast/visual-viewport/zoomed-scroll-into-view-fixed.html: Added. * fast/visual-viewport/zoomed-scroll-to-anchor-in-position-fixed-expected.txt: Added. * fast/visual-viewport/zoomed-scroll-to-anchor-in-position-fixed.html: Added. * platform/ios-simulator/TestExpectations: 2016-12-06 Myles C. Maxfield [Cocoa] REGRESSION(r205396): Intermediate CTRuns with initial advances get double counted when glyph origins are enabled https://bugs.webkit.org/show_bug.cgi?id=165084 Reviewed by Simon Fraser. * fast/text/initial-advance-in-intermediate-run-complex-expected.html: Added. * fast/text/initial-advance-in-intermediate-run-complex.html: Added. * platform/ios-simulator/TestExpectations: Disable the test on iOS because it relies on Arial being used to draw Arabic, which we explicitly don't allow. 2016-12-06 Simon Fraser Enable visual viewports by default on Mac, and iOS Wk2 https://bugs.webkit.org/show_bug.cgi?id=165452 Reviewed by Zalan Bujtas. Skip, fix or adjust tests for visual viewports. * TestExpectations: * animations/trigger-container-scroll-boundaries.html: * animations/trigger-container-scroll-empty.html: * animations/trigger-container-scroll-simple.html: * compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html: * compositing/layer-creation/fixed-position-out-of-view-scaled-expected.txt: * compositing/layer-creation/fixed-position-out-of-view-scaled-scroll-expected.txt: * fast/scrolling/ios/remove-scrolling-role-expected.txt: * fast/zooming/client-rect-in-fixed-zoomed-expected.txt: * fast/zooming/client-rect-in-fixed-zoomed.html: * platform/ios-simulator-wk2/compositing/geometry/fixed-in-composited-expected.txt: Removed. * platform/ios-simulator-wk2/compositing/geometry/limit-layer-bounds-fixed-expected.txt: * platform/ios-simulator-wk2/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt: * platform/ios-simulator-wk2/compositing/layer-creation/fixed-position-under-transform-expected.txt: * platform/ios-simulator-wk2/compositing/layer-creation/no-compositing-for-sticky-expected.txt: * platform/ios-simulator-wk2/fast/overflow/position-fixed-transform-clipping-expected.txt: * platform/ios-simulator/compositing/absolute-inside-out-of-view-fixed-expected.txt: * platform/ios-simulator/compositing/geometry/fixed-in-composited-expected.txt: * scrollingcoordinator/ios/non-stable-viewport-scroll-expected.txt: * scrollingcoordinator/ios/ui-scrolling-tree-expected.txt: * tiled-drawing/fixed-layout-size-fixed-attachment-cover.html: * tiled-drawing/fixed-layout-size-fixed-attachment-local.html: * tiled-drawing/scrolling/clamp-out-of-bounds-scrolls-expected.txt: * tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt: * tiled-drawing/scrolling/fixed/absolute-inside-fixed-expected.txt: * tiled-drawing/scrolling/fixed/absolute-inside-out-of-view-fixed-expected.txt: * tiled-drawing/scrolling/fixed/fixed-in-overflow-expected.txt: * tiled-drawing/scrolling/fixed/fixed-position-out-of-view-expected.txt: * tiled-drawing/scrolling/fixed/fixed-position-out-of-view-negative-zindex-expected.txt: * tiled-drawing/scrolling/fixed/four-bars-expected.txt: * tiled-drawing/scrolling/fixed/four-bars-with-header-and-footer-expected.txt: * tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt: * tiled-drawing/scrolling/fixed/negative-scroll-offset-expected.txt: * tiled-drawing/scrolling/fixed/negative-scroll-offset-in-view-expected.txt: * tiled-drawing/scrolling/fixed/nested-fixed-expected.txt: * tiled-drawing/scrolling/fixed/percentage-inside-fixed-expected.txt: * tiled-drawing/scrolling/frames/coordinated-frame-expected.txt: * tiled-drawing/scrolling/frames/coordinated-frame-gain-scrolling-ancestor-expected.txt: * tiled-drawing/scrolling/frames/coordinated-frame-in-fixed-expected.txt: * tiled-drawing/scrolling/frames/coordinated-frame-lose-scrolling-ancestor-expected.txt: * tiled-drawing/scrolling/frames/fixed-inside-frame-expected.txt: * tiled-drawing/scrolling/frames/frameset-frame-scrollability-expected.txt: * tiled-drawing/scrolling/frames/frameset-nested-frame-scrollability-expected.txt: * tiled-drawing/scrolling/frames/remove-coordinated-frame-expected.txt: * tiled-drawing/scrolling/frames/scroll-region-after-frame-layout-expected.txt: * tiled-drawing/scrolling/scrolling-tree-after-scroll-expected.txt: * tiled-drawing/scrolling/scrolling-tree-slow-scrolling-expected.txt: * tiled-drawing/scrolling/sticky/negative-scroll-offset-expected.txt: * tiled-drawing/scrolling/sticky/sticky-horizontal-expected.txt: * tiled-drawing/scrolling/sticky/sticky-vertical-expected.txt: 2016-12-06 Ryan Haddad Skip modern-media-controls tests until flakiness can be resolved. https://bugs.webkit.org/show_bug.cgi?id=164784 Unreviewed test gardening. * TestExpectations: * platform/ios-simulator-wk2/TestExpectations: * platform/ios-simulator/TestExpectations: * platform/mac-wk1/TestExpectations: * platform/mac/TestExpectations: 2016-12-06 Daniel Bates Make fast/selectors/040.html actually test background-color painting for ::selection when run in DRT https://bugs.webkit.org/show_bug.cgi?id=79694 Reviewed by Beth Dakin. Currently the test case fast/selectors/040.html doesn't actually test that we honor the background-color of ::selection when run in DRT. In particular, it doesn't programmatically select any text and hence the DRT results reflect a paragraph of non-selected text. Instead, we should programmatically select the test paragraph so that DRT can capture the painting of background-color for ::selection. * fast/selectors/040-expected.html: Added. * fast/selectors/040.html: * platform/efl/fast/selectors/040-expected.png: Removed. * platform/efl/fast/selectors/040-expected.txt: Removed. * platform/gtk/fast/selectors/040-expected.png: Removed. * platform/gtk/fast/selectors/040-expected.txt: Removed. * platform/ios-simulator/fast/selectors/040-expected.txt: Removed. * platform/mac/fast/selectors/040-expected.png: Removed. * platform/mac/fast/selectors/040-expected.txt: Removed. * platform/win/fast/selectors/040-expected.txt: Removed. 2016-12-06 Daniel Bates Test insecure-xhr-sync-in-main-frame.html fails with CORS error if run before r203542 https://bugs.webkit.org/show_bug.cgi?id=165407 Reviewed by Alexey Proskuryakov. Make the test insecure-xhr-sync-in-main-frame.html demonstrate a mixed content failure instead of a CORS failure when run before r203542. In r203542 the test http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame.html was added to ensure that we block loading insecure data via XHR from an HTTPS page. When this test is run prior to r203542 it fails due to a CORS errors as opposed to showing the intended JavaScript alert failure message. The CORS error is due to loading a cross-origin resource that did not return an appropriate Access-Control-Allow-Origin header to allow reading of the response. * http/tests/security/mixedContent/insecure-xhr-sync-in-main-frame-expected.txt: Update expected result based on the change below. * http/tests/security/mixedContent/resources/insecure-xhr-sync-in-main-frame-window.html: Load a resource that returns "Access-Control-Allow-Origin: *" so that origin (http, 127.0.0.1, 8000) can read the response returned from origin (https, 127.0.0.1, 8443). 2016-12-06 Tim Horton PDF markup/annotations visible in Mail on macOS but not on iOS https://bugs.webkit.org/show_bug.cgi?id=165444 Reviewed by Simon Fraser. * platform/ios-simulator/TestExpectations: 2016-12-06 Dave Hyatt [CSS Parser] Avoid more test https://bugs.webkit.org/show_bug.cgi?id=165463 Reviewed by Zalan Bujtas. * TestExpectations: 2016-12-06 Sam Weinig [WebIDL] Add support for converting dictionaries to JS https://bugs.webkit.org/show_bug.cgi?id=165367 Reviewed by Darin Adler and Alex Christensen. * crypto/subtle/rsa-oaep-generate-key-expected.txt: * crypto/subtle/rsa-oaep-generate-key.html: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-expected.txt: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable-expected.txt: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key-extractable.html: * crypto/subtle/rsaes-pkcs1-v1_5-generate-key.html: * crypto/subtle/rsassa-pkcs1-v1_5-generate-key-expected.txt: * crypto/subtle/rsassa-pkcs1-v1_5-generate-key.html: * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key-expected.txt: * crypto/webkitSubtle/rsa-oaep-generate-non-extractable-key.html: * crypto/webkitSubtle/rsa-oaep-key-manipulation-expected.txt: * crypto/webkitSubtle/rsa-oaep-key-manipulation.html: * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-expected.txt: * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent-expected.txt: * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key-with-leading-zeroes-in-exponent.html: * crypto/webkitSubtle/rsassa-pkcs1-v1_5-generate-key.html: * crypto/workers/subtle/resources/rsa-generate-key.js: * crypto/workers/subtle/rsa-generate-key-expected.txt: Update tests and expected results to show that CryptoKeyPair is now a vanilla object, not a platform object. 2016-12-05 Antoine Quint [Modern Media Controls] Controls bar in fullscreen cannot be dragged https://bugs.webkit.org/show_bug.cgi?id=165448 Reviewed by Simon Fraser. Add a new test that simulates a dragging interaction of the controls bar in fullscreen. * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-buttons-containers-styles.html: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles-expected.txt: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-controls-bar-styles.html: * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag-expected.txt: Added. * media/modern-media-controls/macos-fullscreen-media-controls/macos-fullscreen-media-controls-drag.html: Added. * platform/ios-simulator/TestExpectations: 2016-12-05 Dave Hyatt [CSS Parser] Skip more bad tests https://bugs.webkit.org/show_bug.cgi?id=165449 Reviewed by Zalan Bujtas. * TestExpectations: The font tests have illegal declarations where the ordering of the sub-properties is all wrong. Skip for now until we can rewrite them. The negative-calc value test is wrong, since tab-size takes only positive integers, so a calc that resolves to a negative number must be rejected. Avoid the test for now until we can rewrite it. 2016-12-05 Antoine Quint ERROR: post-layout: dirty renderer(s) - Encountered with LayoutTest media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html https://bugs.webkit.org/show_bug.cgi?id=165312 Reviewed by Simon Fraser. Restore previously skipped tests. * platform/mac/TestExpectations: 2016-12-05 Dave Hyatt [CSS Parser] Tweak more layout tests to pass https://bugs.webkit.org/show_bug.cgi?id=165447 Reviewed by Zalan Bujtas. * TestExpectations: Add a few more tests to avoid. * fast/css/parsing-font-variant-ligatures-expected.txt: * fast/css/parsing-font-variant-ligatures.html: Remove the assumption that multiple occurrences of the same value are allowed. * fast/filter-image/parse-filter-image-expected.txt: * fast/filter-image/parse-filter-image.html: Change the test to require url(), since you cannot omit it and expect the filter to parse properly. 2016-12-05 Dean Jackson MediaDocuments crash with modern media controls https://bugs.webkit.org/show_bug.cgi?id=165446 Reviewed by Antoine Quint. * media/modern-media-controls/media-documents/insert-style-should-not-crash-expected.txt: Added. * media/modern-media-controls/media-documents/insert-style-should-not-crash.html: Added. 2016-12-05 Dave Hyatt [CSS Parser] Avoid more tests https://bugs.webkit.org/show_bug.cgi?id=165445 Reviewed by Tim Horton. * TestExpectations: Just skip the custom property test, since it's a ref test. 2016-12-05 Matt Baker Web Inspector: Object.shallowEqual([{}], [{}]) should return true https://bugs.webkit.org/show_bug.cgi?id=165397 Reviewed by Brian Burg. Added passing and failing inputs for TestHarness.prototype.expectShallowEqual. * inspector/unit-tests/test-harness-expect-functions-expected.txt: * inspector/unit-tests/test-harness-expect-functions.html: 2016-12-05 Dean Jackson pointer lock needs to be feature detectable https://bugs.webkit.org/show_bug.cgi?id=165426 Reviewed by Antoine Quint. Checks that the API is hidden when the feature is turned off. * pointer-lock/pointerlock-interface-disabled-expected.txt: Added. * pointer-lock/pointerlock-interface-disabled.html: Added. * pointer-lock/pointerlock-interface-expected.txt: Added. * pointer-lock/pointerlock-interface.html: Added. 2016-12-05 Dave Hyatt [CSS Parser] Skip a grid test https://bugs.webkit.org/show_bug.cgi?id=165427 Reviewed by Zalan Bujtas. * TestExpectations: 2016-12-05 Dave Hyatt [CSS Parser] Avoid more invalid tests https://bugs.webkit.org/show_bug.cgi?id=165424 Reviewed by Dean Jackson. * TestExpectations: Avoid the aspect-ratio test, since it thinks whitespace should not be allowed, even though it should be. Avoid a couple of grid tests that assume the grid breadth can't be 0fr, even though it can be. Non-negative means < 0, not <= 0 like the old parser assumes. 2016-12-05 Dave Hyatt [CSS Parser] Fix invalid column-span test https://bugs.webkit.org/show_bug.cgi?id=165420 Reviewed by Dean Jackson. * fast/multicol/newmulticol/spanner-becomes-regular-block.html: 2016-12-05 Dave Hyatt [CSS Parser] Avoid more tests https://bugs.webkit.org/show_bug.cgi?id=165417 Reviewed by Simon Fraser. * TestExpectations: 2016-12-05 Antti Koivisto keyframes do not work when defined inside a style in a shadowRoot https://bugs.webkit.org/show_bug.cgi?id=164608 Reviewed by Darin Adler. * fast/shadow-dom/shadow-host-animation-expected.html: Added. * fast/shadow-dom/shadow-host-animation.html: Added. 2016-12-05 Ryan Haddad Skip three media/modern-media-controls tests. https://bugs.webkit.org/show_bug.cgi?id=165312 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-05 Ryan Haddad Unreviewed, rolling out r209299. This change appears to have caused LayoutTest failures on Sierra WK1. Reverted changeset: "Improve the behavior of scroll-into-view when the target is inside position:fixed" https://bugs.webkit.org/show_bug.cgi?id=165354 http://trac.webkit.org/changeset/209299 2016-12-05 Dave Hyatt [CSS Parser] Fix column tests with illegal syntax https://bugs.webkit.org/show_bug.cgi?id=165411 Reviewed by Zalan Bujtas. Patch column-span layout tests that use invalid syntax to use the spec-compliant syntax instead (none instead of 1). * fast/multicol/newmulticol/remove-spanner4.html: * fast/multicol/newmulticol/remove-spanner5.html: * fast/multicol/newmulticol/remove-spanner6.html: * fast/multicol/span/span-as-immediate-child-property-removal.html: 2016-12-05 Dave Hyatt [CSS Parser] Avoid a few more tests https://bugs.webkit.org/show_bug.cgi?id=165404 Reviewed by Zalan Bujtas. * TestExpectations: 2016-12-05 Dave Hyatt [CSS Parser] Fix flex property parsing test https://bugs.webkit.org/show_bug.cgi?id=165402 Reviewed by Simon Fraser. flex-grow and flex-shrink must occur together. They cannot be before and after the flex-basis. Since this test is about valid property declarations, just fix it by removing the invalid ones. * css3/flexbox/flex-property-parsing-expected.txt: * css3/flexbox/flex-property-parsing.html: 2016-12-05 Ryan Haddad Marking media/modern-media-controls/seek-backward-support/seek-backward-support.html as flaky on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=165386 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-12-05 Dave Hyatt [CSS Parser] Remove calc column-span test https://bugs.webkit.org/show_bug.cgi?id=165393 Reviewed by Zalan Bujtas. "1" is not a legal value for column-span, let alone allowing it to support a calc that resolves to 1. * fast/css/webkit-column-span-calculated-value-expected.txt: Removed. * fast/css/webkit-column-span-calculated-value.html: Removed. 2016-12-05 Ryan Haddad Marking media/modern-media-controls/media-controller/media-controller-resize.html as flaky on macOS. https://bugs.webkit.org/show_bug.cgi?id=164571 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-04 Dave Hyatt [CSS Parser] Eliminate in-place lowercasing in the parser. https://bugs.webkit.org/show_bug.cgi?id=165368 Reviewed by Darin Adler. * fast/media/mq-pointer-expected.txt: 2016-12-04 Matt Baker Web Inspector: Assertion Failures breakpoint should respect global Breakpoints enabled setting https://bugs.webkit.org/show_bug.cgi?id=165277 Reviewed by Mark Lam. New test for DebuggerManager.prototype.breakPointsEnabled. * inspector/debugger/breakpoints-disabled-expected.txt: Added. * inspector/debugger/breakpoints-disabled.html: Added. 2016-12-03 Dave Hyatt [CSS Parser] Remove Inspector test of Bison errors https://bugs.webkit.org/show_bug.cgi?id=165362 Reviewed by Simon Fraser. The old parser logs invalid property declaration errors whenever a Bison error occurs. This catches only a fraction of declaration errors, since Bison accepts practically everything and leaves it up to the specific parser functions to determine validity of a property. The new parser does not have this error reporting. The old reporting will be removed from CSSParser when the new parser turns on. This patch removes the test of Bison errors. * inspector/console/css-source-locations-expected.txt: Removed. * inspector/console/css-source-locations.html: Removed. 2016-12-02 Sam Weinig optional sequence values not handled correctly by binding generator https://bugs.webkit.org/show_bug.cgi?id=142562 Reviewed by Darin Adler. * fast/canvas/webgl/resources/typed-array-worker.js: * fast/dom/Window/window-postmessage-args-expected.txt: * fast/dom/Window/window-postmessage-args.html: * fast/events/message-port-deleted-document.html: * fast/events/message-port-deleted-frame.html: * fast/events/message-port-inactive-document.html: * fast/events/message-port-multi-expected.txt: * fast/events/message-port.html: * fast/workers/worker-context-multi-port-expected.txt: * fast/workers/worker-multi-port-expected.txt: * webgl/1.0.2/resources/webgl_test_files/conformance/typedarrays/resources/typed-array-worker.js: * webgl/1.0.3/resources/webgl_test_files/conformance/typedarrays/resources/typed-array-worker.js: Update for new exceptions and stricter enforcement of the postMessage signature. 2016-12-02 Simon Fraser Improve the behavior of scroll-into-view when the target is inside position:fixed https://bugs.webkit.org/show_bug.cgi?id=165354 Reviewed by Zalan Bujtas. * fast/overflow/scroll-anchor-in-position-fixed-expected.txt: Added. * fast/overflow/scroll-anchor-in-position-fixed.html: Added. * fast/visual-viewport/zoomed-scroll-to-anchor-in-position-fixed-expected.txt: Added. * fast/visual-viewport/zoomed-scroll-to-anchor-in-position-fixed.html: Added. * platform/ios-simulator/TestExpectations: 2016-11-30 Simon Fraser localToAbsolute() does incorrect conversion for elements inside position:fixed with zooming https://bugs.webkit.org/show_bug.cgi?id=165244 Reviewed by Zalan Bujtas. Test getBoundingClientRect() (which internally calls localToAbsolute()) for an element inside position:fixed after zooming. * fast/visual-viewport/zoomed-fixed-expected.txt: Rebaseline * fast/zooming/client-rect-in-fixed-zoomed-expected.txt: Added. * fast/zooming/client-rect-in-fixed-zoomed.html: Added. * platform/ios-simulator/TestExpectations: Skip new test on iOS; test requires window.scrollTo to be synchronous. 2016-12-02 Antoine Quint [Modern Media Controls] Update the media controls size as the media element is resized https://bugs.webkit.org/show_bug.cgi?id=165346 Reviewed by Dean Jackson. Write an accurate test to check for media controls updating their size to match the media's layout size and no longer mark that test as flaky. * TestExpectations: * media/modern-media-controls/media-controller/media-controller-resize-expected.txt: * media/modern-media-controls/media-controller/media-controller-resize.html: * platform/ios-simulator/TestExpectations: 2016-12-02 Ryan Haddad Marking fast/dom/Window/window-resize-contents.html as flaky on mac-wk2. https://bugs.webkit.org/show_bug.cgi?id=165352 Unreviewed test gardening. * platform/mac-wk2/TestExpectations: 2016-12-02 Dave Hyatt [CSS Parser] Turn off more tests until new parser is on https://bugs.webkit.org/show_bug.cgi?id=165349 Reviewed by Dean Jackson. * TestExpectations: 2016-12-02 Ryan Haddad Rebaseline fast/text/crash-complex-text-surrogate.html after r209279. Unreviewed test gardening. * platform/ios-simulator/fast/text/crash-complex-text-surrogate-expected.txt: * platform/mac-yosemite/fast/text/crash-complex-text-surrogate-expected.txt: 2016-12-02 Dave Hyatt [CSS Parser] Fix errors in numerous layout tests https://bugs.webkit.org/show_bug.cgi?id=165343 Reviewed by Zalan Bujtas. * fast/backgrounds/repeat/parsing-background-repeat-expected.txt: * fast/backgrounds/repeat/script-tests/parsing-background-repeat.js: The old parser partially applies shorthands, even if it rejects later on. The new parser properly rejects the entire shorthand. Fix the test so that the numbers at the end are not unitless so that the entire shorthand parses, allowing the components to be obtained. * fast/css/unknown-pseudo-element-matching-expected.txt: * fast/css/unknown-pseudo-element-matching.html: * fast/text/crash-complex-text-surrogate.html: The old parser allows the tag name to be omitted following a namespace bar (|). This is not legal according to the namespaces spec, and the new parser behaves correctly. For the crash test, it's important that all the code still runs, so we know the crash doesn't happen, so I patched the test to put in '*' for the tag names to keep everything the same. For the unknown-pseudo-element test, I just removed the five invalid cases. 2016-12-02 Dave Hyatt [CSS Parser] Turn off the large value test, since clamping is not the same. https://bugs.webkit.org/show_bug.cgi?id=165341 Reviewed by Zalan Bujtas. * TestExpectations: 2016-12-02 Ryan Haddad Marking three imported/w3c/web-platform-tests/IndexedDB/idbindex-* tests as flaky on macOS debug. https://bugs.webkit.org/show_bug.cgi?id=165222 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-02 Antoine Quint [Modern Media Controls] Add rewind and fast-forward support https://bugs.webkit.org/show_bug.cgi?id=165294 Reviewed by Dean Jackson. New test for the LayoutNode.parentOfType() method and the seeking buttons. * media/modern-media-controls/forward-button/forward-button.html: * media/modern-media-controls/layout-node/layout-node-parent-of-type-expected.txt: Added. * media/modern-media-controls/layout-node/layout-node-parent-of-type.html: Added. * media/modern-media-controls/rewind-button/rewind-button.html: * media/modern-media-controls/seek-backward-support/seek-backward-support-expected.txt: Added. * media/modern-media-controls/seek-backward-support/seek-backward-support.html: Added. * media/modern-media-controls/seek-forward-support/seek-forward-support-expected.txt: Added. * media/modern-media-controls/seek-forward-support/seek-forward-support.html: Added. * platform/ios-simulator/TestExpectations: * platform/mac/TestExpectations: 2016-12-02 Ryan Haddad Marking media/modern-media-controls/scrubber-support/scrubber-support-click.html as a flaky failure. https://bugs.webkit.org/show_bug.cgi?id=165327 Unreviewed test gardening. * TestExpectations: 2016-12-02 Ryan Haddad Marking http/tests/inspector/network/xhr-request-data-encoded-correctly.html as a flaky timeout. https://bugs.webkit.org/show_bug.cgi?id=164033 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-02 John Wilander Require preflight for non-standard CORS-safelisted request headers Accept, Accept-Language, and Content-Language https://bugs.webkit.org/show_bug.cgi?id=165178 Reviewed by Youenn Fablet. Fetch currently only restricts the header Content-Type for simple requests: https://fetch.spec.whatwg.org/#cors-safelisted-request-header This means simple CORS requests can send unexpected characters in Accept, Accept-Language, and Content-Language header values. RFC 7231 implies restrictions on these header values: - Accept https://tools.ietf.org/html/rfc7231#section-5.3.2 - Accept-Language https://tools.ietf.org/html/rfc7231#section-5.3.5 - Content-Language https://tools.ietf.org/html/rfc7231#section-3.1.3.2 As per discussions in the W3C WebAppSec group we should try to restrict these header values to help protect servers that do not expect simple CORS requests. Non-standard, safelisted header values should trigger a preflight and require the headers to be whitelisted in the response's Access-Control-Allow-Headers. For Fetch in no-cors mode this change means non-standard header values are not allowed to be set. * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight-expected.txt: Added. * http/tests/xmlhttprequest/cors-non-standard-safelisted-headers-should-trigger-preflight.html: Added. Tests that: - Normal Accept, Accept-Language, and Content-Language headers don't trigger a preflight. - Abnormal Accept, Accept-Language, and Content-Language headers do trigger a preflight. - Abnormal Accept, Accept-Language, and Content-Language headers are accepted if the server whitelists them. * http/tests/xmlhttprequest/resources/cors-preflight-safelisted-headers-responder.php: Added. 2016-12-02 Zalan Bujtas ASSERTION FAILED: flowThread->regionInRange(region, startRegion, endRegion) in WebCore::RenderBox::borderBoxRectInRegion https://bugs.webkit.org/show_bug.cgi?id=152113 Reviewed by David Hyatt. * fast/multicol/assert-with-nested-columns-and-spanner-expected.txt: Added. * fast/multicol/assert-with-nested-columns-and-spanner.html: Added. 2016-12-02 Dave Hyatt [CSS Parser] Make sure the z-component of transform-origin can be implicit https://bugs.webkit.org/show_bug.cgi?id=165326 Reviewed by Tim Horton. * TestExpectations: 2016-12-02 Dave Hyatt [CSS Parser] Fix invalid test font specification https://bugs.webkit.org/show_bug.cgi?id=165324 Reviewed by Sam Weinig. * fast/text/trak-optimizeLegibility.html: 2016-12-02 Dave Hyatt [CSS Parser] Mark set-selector-text test, since it will need to be rewritten. https://bugs.webkit.org/show_bug.cgi?id=165322 Reviewed by Dean Jackson. * TestExpectations: 2016-12-02 Chris Dumez [Mac][WK1] Implement new HTML interactive form validation user interface https://bugs.webkit.org/show_bug.cgi?id=164483 Reviewed by Simon Fraser. Unskip tests for HTML form validation that are now passing on Mac WK1. * platform/mac-wk1/TestExpectations: 2016-12-02 Ryan Haddad Marking media/modern-media-controls/tracks-support/tracks-support-click-track-in-panel.html as flaky on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=165319 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-12-02 Ryan Haddad Marking media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen.html as flaky on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=165318 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-12-02 Dave Hyatt [CSS Parser] Require whitespace following condition tokens in media queries https://bugs.webkit.org/show_bug.cgi?id=165314 Reviewed by Dean Jackson. This test is invalid according to the media queries spec, which states that whitespace is required following "and"/"or" tokens. * fast/css/media-rule-no-whitespace-expected.txt: Removed. * fast/css/media-rule-no-whitespace.html: Removed. 2016-12-02 Ryan Haddad Marking media/modern-media-controls/pip-support/pip-support-click.html as flaky on Sierra. https://bugs.webkit.org/show_bug.cgi?id=165311 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-02 Dave Hyatt [CSS Parser] Fix invalid gradients test https://bugs.webkit.org/show_bug.cgi?id=165310 Reviewed by Zalan Bujtas. * fast/gradients/generated-gradients.html: The content property here is using invalid syntax. It's supposed to be space-separated, not comma-separated. The old parser was finding the first value and then bailing when it saw the comma, but not rejecting. The new parser properly rejected. To keep the test working, just drop all the extra invalid gradients and keep the first one. 2016-12-02 Dave Hyatt [CSS Parser] Make sure margin and font set the implicit flag properly https://bugs.webkit.org/show_bug.cgi?id=165306 Reviewed by Zalan Bujtas. * TestExpectations: 2016-12-01 Antoine Quint [Modern Media Controls] Fade controls in when entering and exiting fullscreen https://bugs.webkit.org/show_bug.cgi?id=165287 Reviewed by Dean Jackson. Add a new Mac-specific test that checks that we fade controls in when entering fullscreen. * media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-fade-controls-when-entering-fullscreen.html: Added. * platform/ios-simulator/TestExpectations: * platform/mac/TestExpectations: 2016-12-01 Antoine Quint [Modern Media Controls] Show and populate the tracks panel https://bugs.webkit.org/show_bug.cgi?id=165284 Reviewed by Dean Jackson. Add two new tests to check that we correctly show, populate and interact with the tracks panel. * media/modern-media-controls/tracks-support/tracks-support-click-track-in-panel-expected.txt: Added. * media/modern-media-controls/tracks-support/tracks-support-click-track-in-panel.html: Added. * media/modern-media-controls/tracks-support/tracks-support-show-and-populate-panel-expected.txt: Added. * media/modern-media-controls/tracks-support/tracks-support-show-and-populate-panel.html: Added. * platform/ios-simulator/TestExpectations: * platform/mac/TestExpectations: 2016-12-01 Ryan Haddad Removing Release-only flag from flaky test http/tests/cache/disk-cache/disk-cache-request-max-stale.html https://bugs.webkit.org/show_bug.cgi?id=159840 Unreviewed test gardening.. * platform/ios-simulator-wk2/TestExpectations: 2016-12-01 Ryan Haddad Marking media/modern-media-controls/tracks-panel/tracks-panel-hide-click-outside.html as a flaky timeout. https://bugs.webkit.org/show_bug.cgi?id=165290 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-01 Chris Dumez [iOS] Tapping an element generates a 'click' event that has 0 as timeStamp https://bugs.webkit.org/show_bug.cgi?id=165270 Reviewed by Simon Fraser. Add layout test coverage. * fast/events/ios/click-event-timestamp-expected.txt: Added. * fast/events/ios/click-event-timestamp.html: Added. 2016-12-01 Dave Hyatt [CSS Parser] Fix an invalid shadow DOM test https://bugs.webkit.org/show_bug.cgi?id=165273 Reviewed by Zalan Bujtas. * fast/shadow-dom/css-scoping-slot-with-id.html: Pseudo-element needs to be rightmost. The rule is illegal, but our old parser incorrectly allowed it. Fix the test by just flipping the order so that ::slotted(*) occurs last. 2016-12-01 Jiewen Tan Update SubtleCrypto::unwrapKey to match the latest spec https://bugs.webkit.org/show_bug.cgi?id=164747 Reviewed by Brent Fulgham. * crypto/subtle/aes-cbc-import-key-unwrap-jwk-rsa-key-private-expected.txt: Added. * crypto/subtle/aes-cbc-import-key-unwrap-jwk-rsa-key-private.html: Added. * crypto/subtle/aes-cbc-import-key-uwrap-jwk-rsa-key-public-expected.txt: Added. * crypto/subtle/aes-cbc-import-key-uwrap-jwk-rsa-key-public.html: Added. * crypto/subtle/aes-kw-generate-key-wrap-key-unwrap-key-expected.txt: Added. * crypto/subtle/aes-kw-generate-key-wrap-key-unwrap-key.html: Added. * crypto/subtle/aes-kw-import-key-unwrap-raw-key-expected.txt: Added. * crypto/subtle/aes-kw-import-key-unwrap-raw-key.html: Added. * crypto/subtle/rsa-oaep-import-key-unwrap-jwk-oct-key-expected.txt: Added. * crypto/subtle/rsa-oaep-import-key-unwrap-jwk-oct-key.html: Added. * crypto/subtle/unwrapKey-malformed-parameters-expected.txt: Added. * crypto/subtle/unwrapKey-malformed-parameters.html: Added. * crypto/workers/subtle/aes-cbc-import-key-unwrap-key-expected.txt: Added. * crypto/workers/subtle/aes-cbc-import-key-unwrap-key.html: Added. * crypto/workers/subtle/aes-kw-import-key-unwrap-key-expected.txt: Added. * crypto/workers/subtle/aes-kw-import-key-unwrap-key.html: Added. * crypto/workers/subtle/resources/aes-cbc-import-key-unwrap-key.js: Added. * crypto/workers/subtle/resources/aes-kw-import-key-unwrap-key.js: Added. * crypto/workers/subtle/resources/rsa-oaep-import-key-unwrap-key.js: Added. * crypto/workers/subtle/rsa-oaep-import-key-unwrap-key-expected.txt: Added. * crypto/workers/subtle/rsa-oaep-import-key-unwrap-key.html: Added. 2016-12-01 Dave Hyatt [CSS Parser] Fix font-variant parsing https://bugs.webkit.org/show_bug.cgi?id=165266 Reviewed by Dean Jackson. * TestExpectations: 2016-12-01 Brady Eidson IndexedDB 2.0: Implement IDBObjectStore.getKey(). https://bugs.webkit.org/show_bug.cgi?id=165256 Reviewed by Alex Christensen. * storage/indexeddb/modern/idbobjectstore-getkey-1-expected.txt: Added. * storage/indexeddb/modern/idbobjectstore-getkey-1-private-expected.txt: Added. * storage/indexeddb/modern/idbobjectstore-getkey-1-private.html: Added. * storage/indexeddb/modern/idbobjectstore-getkey-1.html: Added. * storage/indexeddb/modern/resources/idbobjectstore-getkey-1.js: Added. 2016-12-01 Antoine Quint [Modern Media Controls] Turn off text selection https://bugs.webkit.org/show_bug.cgi?id=165261 Reviewed by Dean Jackson. New tests to check that text selection is turned off for StatusLabel, AirplayPlacard and PiPPlacard. * media/modern-media-controls/airplay-placard/airplay-placard-text-section-expected.txt: Added. * media/modern-media-controls/airplay-placard/airplay-placard-text-section.html: Added. * media/modern-media-controls/pip-placard/pip-placard-text-section-expected.txt: Added. * media/modern-media-controls/pip-placard/pip-placard-text-section.html: Added. * media/modern-media-controls/status-label/status-label-text-selection-expected.txt: Added. * media/modern-media-controls/status-label/status-label-text-selection.html: Added. 2016-12-01 Chris Dumez Parameter to DOMStringList.contains() should be mandatory https://bugs.webkit.org/show_bug.cgi?id=165257 Reviewed by Alex Christensen. Extend layout test coverage. * storage/indexeddb/database-basics-expected.txt: * storage/indexeddb/resources/database-basics.js: (checkObjectStore): 2016-12-01 Jiewen Tan SubtleCrypto::deriveBits always return NOT_SUPPORTED_ERR for now https://bugs.webkit.org/show_bug.cgi?id=164745 Reviewed by Darin Adler. * crypto/subtle/deriveBits-malformed-parameters-expected.txt: Added. * crypto/subtle/deriveBits-malformed-parameters.html: Added. 2016-12-01 Ryan Haddad Marking media/modern-media-controls/tracks-panel/tracks-panel-select-track-with-keyboard.html as failing on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=165262 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-12-01 Antoine Quint [Modern Media Controls] Promote the "on" property from AirPlayButton to IconButton https://bugs.webkit.org/show_bug.cgi?id=165260 Reviewed by Dean Jackson. New test for the "on" property on IconButton. * media/modern-media-controls/airplay-button/airplay-button-on.html: * media/modern-media-controls/icon-button/icon-button-on-expected.txt: Added. * media/modern-media-controls/icon-button/icon-button-on.html: Added. 2016-12-01 Antoine Quint [Modern Media Controls] Fix media/modern-media-controls/status-label/status-label.html https://bugs.webkit.org/show_bug.cgi?id=165259 Reviewed by Dean Jackson. We broke the test at media/modern-media-controls/status-label/status-label.html with the fix for https://bugs.webkit.org/show_bug.cgi?id=165239 since the test would test the font-family for a StatusLabel which would only inherited to be -apple-system when hosted in a MediaControls instance. We now remove this assertion and added a dedicated test for when a StatusLabel is hosted in a MediaControls. * media/modern-media-controls/status-label/status-label-expected.txt: * media/modern-media-controls/status-label/status-label-font-expected.txt: Added. * media/modern-media-controls/status-label/status-label-font.html: Added. * media/modern-media-controls/status-label/status-label.html: 2016-12-01 Ryan Haddad Marking media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html as failing on mac-wk1. https://bugs.webkit.org/show_bug.cgi?id=165258 Unreviewed test gardening. * platform/mac-wk1/TestExpectations: 2016-11-30 Sam Weinig [WebIDL] Remove custom bindings for File and Blob constructors https://bugs.webkit.org/show_bug.cgi?id=165218 Reviewed by Darin Adler. * fast/files/blob-constructor-expected.txt: * fast/files/file-constructor-expected.txt: * fast/files/file-constructor.html: * fast/files/script-tests/blob-constructor.js: Update for stricter parsing and changed error text. (The error text is regressed, but consistent with all generated bindings. I will work on making improvements on this soon.) * http/tests/fetch/fetch-as-blob.js: Update to account for stricter rules about dictionary default values. 2016-12-01 Ryan Haddad Marking media/modern-media-controls/audio/audio-controls-buttons.html as a timeout. https://bugs.webkit.org/show_bug.cgi?id=165234 Unreviewed test gardening. * platform/mac/TestExpectations: 2016-12-01 Antoine Quint [Modern Media Controls] Provide a UI object to show a list of tracks https://bugs.webkit.org/show_bug.cgi?id=165239 Reviewed by Dean Jackson. Adding new tests to cover new TracksPanel functionality. * media/modern-media-controls/resources/media-controls-loader.js: * media/modern-media-controls/tracks-panel/tracks-panel-expected.txt: Added. * media/modern-media-controls/tracks-panel/tracks-panel-hide-click-outside-expected.txt: Added. * media/modern-media-controls/tracks-panel/tracks-panel-hide-click-outside.html: Added. * media/modern-media-controls/tracks-panel/tracks-panel-hide-esc-key-expected.txt: Added. * media/modern-media-controls/tracks-panel/tracks-panel-hide-esc-key.html: Added. * media/modern-media-controls/tracks-panel/tracks-panel-hide-expected.txt: Added. * media/modern-media-controls/tracks-panel/tracks-panel-hide.html: Added. * media/modern-media-controls/tracks-panel/tracks-panel-population-expected.txt: Added. * media/modern-media-controls/tracks-panel/tracks-panel-population.html: Added. * media/modern-media-controls/tracks-panel/tracks-panel-right-x-expected.txt: Added. * media/modern-media-controls/tracks-panel/tracks-panel-right-x.html: Added. * media/modern-media-controls/tracks-panel/tracks-panel-select-track-with-keyboard-expected.txt: Added. * media/modern-media-controls/tracks-panel/tracks-panel-select-track-with-keyboard.html: Added. * media/modern-media-controls/tracks-panel/tracks-panel-select-track-with-mouse-expected.txt: Added. * media/modern-media-controls/tracks-panel/tracks-panel-select-track-with-mouse.html: Added. * media/modern-media-controls/tracks-panel/tracks-panel.html: Added. * platform/ios-simulator/TestExpectations: * platform/mac/TestExpectations: 2016-11-30 Yusuke Suzuki [JSC] Specifying same module entry point multiple times cause TypeError https://bugs.webkit.org/show_bug.cgi?id=164858 Reviewed by Saam Barati. * js/dom/modules/module-load-same-module-from-different-entry-point-in-src-expected.txt: Added. * js/dom/modules/module-load-same-module-from-different-entry-point-in-src.html: Added. 2016-11-30 Antoine Quint [Modern Media Controls] Add support for right-to-left layouts https://bugs.webkit.org/show_bug.cgi?id=165229 Reviewed by Dean Jackson. Add a test that toggles the layout direction and checks we correctly flip the volume slider. * media/modern-media-controls/media-controller/media-controller-fullscreen-ltr-expected.txt: Added. * media/modern-media-controls/media-controller/media-controller-fullscreen-ltr.html: Added. * platform/ios-simulator/TestExpectations: * platform/mac/TestExpectations: 2016-11-30 Antoine Quint [Modern Media Controls] LayoutNode: only mark properties as dirty if different than current value https://bugs.webkit.org/show_bug.cgi?id=165236 Reviewed by Simon Fraser. Update LayoutNode property tests to check that setting a given property to the same value doesn't schedule an update. * media/modern-media-controls/layout-node/height-expected.txt: * media/modern-media-controls/layout-node/height.html: * media/modern-media-controls/layout-node/visible-expected.txt: * media/modern-media-controls/layout-node/visible.html: * media/modern-media-controls/layout-node/width-expected.txt: * media/modern-media-controls/layout-node/width.html: * media/modern-media-controls/layout-node/x-expected.txt: * media/modern-media-controls/layout-node/x.html: * media/modern-media-controls/layout-node/y-expected.txt: * media/modern-media-controls/layout-node/y.html: 2016-11-30 Jiewen Tan SubtleCrypto::deriveKey always return NOT_SUPPORTED_ERR for now https://bugs.webkit.org/show_bug.cgi?id=164744 Reviewed by Darin Adler. * crypto/subtle/deriveKey-malformed-parameters-expected.txt: Added. * crypto/subtle/deriveKey-malformed-parameters.html: Added. 2016-11-26 Jiewen Tan Update SubtleCrypto::digest to match the latest spec https://bugs.webkit.org/show_bug.cgi?id=164742 Reviewed by Darin Adler. * crypto/subtle/digest-malformed-parameters-expected.txt: Added. * crypto/subtle/digest-malformed-parameters.html: Added. * crypto/subtle/sha1-digest-expected.txt: Added. * crypto/subtle/sha1-digest.html: Added. * crypto/subtle/sha224-digest-expected.txt: Added. * crypto/subtle/sha224-digest.html: Added. * crypto/subtle/sha256-digest-expected.txt: Added. * crypto/subtle/sha256-digest.html: Added. * crypto/subtle/sha384-digest-expected.txt: Added. * crypto/subtle/sha384-digest.html: Added. * crypto/subtle/sha512-digest-expected.txt: Added. * crypto/subtle/sha512-digest.html: Added. * crypto/workers/subtle/resources/sha1-digest.js: Added. * crypto/workers/subtle/resources/sha224-digest.js: Added. * crypto/workers/subtle/resources/sha256-digest.js: Added. * crypto/workers/subtle/resources/sha384-digest.js: Added. * crypto/workers/subtle/resources/sha512-digest.js: Added. * crypto/workers/subtle/sha1-digest-expected.txt: Added. * crypto/workers/subtle/sha1-digest.html: Added. * crypto/workers/subtle/sha224-digest-expected.txt: Added. * crypto/workers/subtle/sha224-digest.html: Added. * crypto/workers/subtle/sha256-digest-expected.txt: Added. * crypto/workers/subtle/sha256-digest.html: Added. * crypto/workers/subtle/sha384-digest-expected.txt: Added. * crypto/workers/subtle/sha384-digest.html: Added. * crypto/workers/subtle/sha512-digest-expected.txt: Added. * crypto/workers/subtle/sha512-digest.html: Added. 2016-11-30 Antoine Quint [Modern Media Controls] UI Library: