https://github.com/web-platform-tests/wpt

sort by:
Revision Author Date Message Commit Date
edb6add Further fixes per review and my own discoveries Turns out the timeout is needed at least a bit 21 February 2018, 20:38:09 UTC
e70aaf6 No need for timeout per annevk's review 20 February 2018, 21:53:40 UTC
ab2e964 Make window.didExecute undefined, not false, for no execution, to avoid Firefox vs. others issue 20 February 2018, 21:43:29 UTC
e42a9f6 Also test module scripts 20 February 2018, 21:43:29 UTC
1829594 Test moving <script>s between documents This follows the changes in https://github.com/whatwg/html/pull/2673, but also tests the issue at https://github.com/whatwg/html/issues/2137 in favor of the current spec. 20 February 2018, 21:43:29 UTC
0d5ca04 Fix WebAudio WPT tests that timeout. - AudioParam IDL test: Actually add the IDL to the test. Also removed unused helpers.js. - MediaElementAudioSourceNode Fix error because the expected result is mono, so only has one channel. However, this still fails on bots because there's no audio hardware to drive the online context. Bug: 626703 Test: the-audioparam-interface/idl-test.html Change-Id: I987ad1219da1b6b6ef677f2923416634fa281d5f Reviewed-on: https://chromium-review.googlesource.com/920261 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by: Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#537856} 20 February 2018, 20:43:21 UTC
4c74a92 ReadableStream: test piping and queued writes When the readable stream becomes closed after the first write, all queued writes should complete before the pipe operation becomes completed. This tests the fix for this behavior in the Streams reference implementation in whatwg/streams#884. 20 February 2018, 20:13:44 UTC
5f4b60f Sync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/928f0f09172fae67f6ec00e7a63969f7b28bd12e . (#9560) 20 February 2018, 18:45:20 UTC
ee2e294 Update supported font format specifiers While we do support variations, our format specifier support was not updated yet. Move all of that to FontCustomPlatformData and add a WPT test to cover common supported format specifiers. Test: external/wpt/css/css-fonts/format-specifiers-variations.html Bug: 804466 Change-Id: I06d7af65cf74e13cec49dc279efb8ffc2b56dda9 Reviewed-on: https://chromium-review.googlesource.com/926007 Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Dominik Röttsches <drott@chromium.org> Cr-Commit-Position: refs/heads/master@{#537799} 20 February 2018, 17:17:28 UTC
d936893 Pin wptrunner dependencies Given it's an application, we should just define the environment we expect it to run in. This should stop #8954 from regressing, given it also means we'll be testing against the only possible set of versions of our dependencies. 20 February 2018, 16:06:06 UTC
25f040e Fix #8954: update wptrunner requirements Note this just uses the current stable release of all dependencies rather than trying to find what the minimum required actually is. 20 February 2018, 16:06:06 UTC
de9d5d1 OOR-CORS: Port WebCORSPreflightResultCacheItem to network service This patch reimplements WebCORSPreflightResultCacheItem equivalent in network service, and share the implementation between the network service and Blink. The next patch will replace whole WebCORSPreflightResultCache, and this is the preparation to make the next patch small. Bug: 803766 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: Ifa06967830465236dbe198908062e1952095e55b Reviewed-on: https://chromium-review.googlesource.com/915543 Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org> Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Cr-Commit-Position: refs/heads/master@{#537769} 20 February 2018, 13:53:45 UTC
a5a46d4 Fix a bug that document.importNode() doesn't clone Attr nodes with namespace. We should just call Attr::Clone(). Bug: 812089, 812105 Change-Id: I163769e134a52d82b88834ae29083a01a3480e95 Reviewed-on: https://chromium-review.googlesource.com/925865 Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#537730} 20 February 2018, 07:34:32 UTC
03384b2 [css-typed-om] Implement StylePropertyMap.clear. This patch adds the clear() method to inline & declared StylePropertyMap Spec: https://drafts.css-houdini.org/css-typed-om-1/#dom-stylepropertymap-clear Bug: 813653 Change-Id: Ib56f60fa59dc8d241e7fb1a7695fce2bea094026 Reviewed-on: https://chromium-review.googlesource.com/925761 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by: nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#537717} 20 February 2018, 05:17:53 UTC
ae41c0e [css-typed-om] Allow mutations of CSSTransformValues. This patch allows CSSTransformValues items to be mutated/appended. Spec issue here: https://github.com/w3c/css-houdini-drafts/issues/690 Bug: 545318 Change-Id: I841704e1f2ec8db0f27ae254a0949d4f9b46c8f7 Reviewed-on: https://chromium-review.googlesource.com/925882 Reviewed-by: Darren Shen <shend@chromium.org> Commit-Queue: nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#537710} 20 February 2018, 04:14:28 UTC
8f3f3d5 Delete StylePropertyMap.update() This is as there is a bug on the spec highlighting the lack of usefulness of the function: https://github.com/w3c/css-houdini-drafts/issues/656 Bug: 812912 Change-Id: If0b47a4bfa268f55f63e5c80168971164dc63199 Reviewed-on: https://chromium-review.googlesource.com/923501 Commit-Queue: nainar <nainar@chromium.org> Reviewed-by: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#537697} 20 February 2018, 02:28:31 UTC
1e49208 cc Update messages.json expectations formatting 20 February 2018, 01:47:22 UTC
8fed983 [css-typed-om] Allow mutations of CSSUnparsedValue. This patch allows CSSUnparsedValue items to be mutated/appended. See https://github.com/w3c/css-houdini-drafts/issues/664 Bug: 812919 Change-Id: I3e3c1d91fa9bfaa3a1a4adde45202c36c9bdb37f Reviewed-on: https://chromium-review.googlesource.com/923670 Reviewed-by: nainar <nainar@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#537691} 20 February 2018, 00:06:19 UTC
969ae69 [css-typed-om] Fix crash involving negative length perspectives. We were crashing because converting CSSPerspective(-1px) to a CSSValue returns nullptr. The correct behaviour should be to convert it as CSSPerspective(calc(-1px)). Bug: 812620 Change-Id: I5ee70d4fb5eed064bcdad67391c3eb84531144d6 Reviewed-on: https://chromium-review.googlesource.com/924742 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by: nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#537690} 19 February 2018, 23:59:24 UTC
ca39b1e [css-typed-om] Handle out-of-range values correctly. Currently, when we set width to something like -1, we would get an invalid value for width. According to the spec [1], we should be wrapping the invalid value in a calc. This patch wraps invalid values in calc, and changes the test harness to allow us to test this. Bug: 545318 Change-Id: I71769e1bc69164c9b7dcf0d2c54ca06b623b5d9e Reviewed-on: https://chromium-review.googlesource.com/923603 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by: nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#537685} 19 February 2018, 22:24:34 UTC
db55c16 Use a valid Python boolean value for Servo's options. The string "false" worked when it was interpolated as JSON, but that is no longer the case since cb2d75fd13182ab3bdd7189dafe2ff7bbf4acd56. 19 February 2018, 21:13:59 UTC
03051e1 Change Content-Type-Options: nosniff allowed script MIME types to match the spec. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1431095 gecko-commit: 38626987c0cfd6e715cfcc6f4f1a1209191a03c5 gecko-integration-branch: central gecko-reviewers: ckerschb 19 February 2018, 19:23:02 UTC
3861216 Fix #7142: Change manifest update process Earlier, interrupting the manifest-update could end up causing errors due to the non-atomicity of the process. Used tempfile to ensure that the file is written correctly. 19 February 2018, 18:57:25 UTC
b20bddd Fix wpt/beacon/headers/header-content-type.html slowness This CL uses ResourceTiming API to speed up the test cases while avoiding flakiness. Bug: 779965 Change-Id: I40dc2fae470df296c87c12e432fc7fc7644cc40a Reviewed-on: https://chromium-review.googlesource.com/923625 Commit-Queue: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Adam Rice <ricea@chromium.org> Cr-Commit-Position: refs/heads/master@{#537664} 19 February 2018, 17:01:44 UTC
be7c5e5 Test whether javascript: navigation aborts fetches in earlier navigation See https://github.com/whatwg/html/issues/2590. Tentative tests for now. 19 February 2018, 15:55:15 UTC
abcd6e9 Streams: Tests for abuse of RSBYOBRequest (#9558) In https://github.com/whatwg/streams/pull/870 it was made impossible to directly construct a ReadableStreamBYOBRequest. Prior to that it was possible to violate the state invariants of ReadableByteStreamController by constructing then using a BYOBRequest directly. Add tests that verify that it is not possible to construct a ReadableStreamBYOBRequest directly. Also add tests that it isn't possible to violate the invariants of ReadableByteStreamController by re-using a BYOBRequest object. Also add a test that it isn't possible to keep a BYOBRequest object valid while releasing the reader lock, as this would also be a way to violate ReadableByteStreamController's invariants. Fixes whatwg/streams#870 19 February 2018, 14:52:04 UTC
0eaf763 Fix detached-context.https.html to not timeout due to promise reaction callbacks not firing for detached globals. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436763 gecko-commit: c8d461ef1437641ae7d4ea1d21e1e60cd62910b0 gecko-integration-branch: central gecko-reviewers: catalinb 19 February 2018, 13:04:31 UTC
63a5a6d Refactor tests for sandbox iframes controlled by service worker This patch is to split sandboxed-iframe-fetch-event.https.html into small chunks. Each promise_test has smaller number of assertions, so that now we can see the results for each situation. Bug: 771815 Change-Id: I75cdd67f92bbb07d6b538b209e1f0819752c3bc8 Reviewed-on: https://chromium-review.googlesource.com/923901 Commit-Queue: Makoto Shimazu <shimazu@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#537606} 19 February 2018, 09:40:08 UTC
e6bda36 Stop reusing MemoryCache entries for requests with a different source origin. ResourceFetcher/ResourceLoader now saves the result of the CORS check on the Resource object. Though the result of the CORS check varies depending on the source origin, reusing an existing resource fetched by a different source origin is allowed by mistake. This patch introduces a logic to prevent MemoryCache entries from being reused for requests with a different source (requestor) origin by saving the source origin on the Resource object and comparing that with the new source origin in Resource::CanReuse(), so that the result of the CORS check is reused only when the source origin is the same. An alternative possibly-better approach is to isolate MemoryCache for different origins by changing the cache identifier to take into account the source origin of requests. However, to keep the patch small and fix the issue quickly, this patch just prevents reuse. Bug: 799477, 809350 Change-Id: Ib96c9e728abe969a53f3d80519118a83392067b4 Reviewed-on: https://chromium-review.googlesource.com/897040 Commit-Queue: Takeshi Yoshino <tyoshino@chromium.org> Reviewed-by: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Cr-Commit-Position: refs/heads/master@{#537580} 19 February 2018, 05:53:12 UTC
75c962d Set WasFetchedViaServiceWorker for multipart image response When creating a ResourceResponse from another ResourceResponse, we need to copy WasFetchedViaServiceWorker and ResponseTypeViaServiceWorker. Bug: 737648 Change-Id: I9405738221ef5232e235f9fc400f204b7b558596 Reviewed-on: https://chromium-review.googlesource.com/907012 Commit-Queue: Kenichi Ishibashi <bashi@chromium.org> Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#537579} 19 February 2018, 05:44:18 UTC
ee7ca4f ReadableStream: Add a test that all queued writes complete on error (#5636) When a pipe is errored, all currently queued writes should complete before abort() is called on the underlying sink. The tests the fix to this behaviour in the Streams reference implementation in whatwg/streams#884. 19 February 2018, 05:21:25 UTC
2f8a421 minor typo fix 18 February 2018, 20:46:40 UTC
08dd5d8 Fix selection{Start,End} test Likely due to a copy and paste error, one of the tests that was meant to cover both selectionStart and selectionEnd only covered the former. Fix so that it covers both, as it should have from the start. 17 February 2018, 12:52:17 UTC
1a2e430 [css-layout-api] Implement the guts of the javascript layout runner. This implements the hooks from the LayoutCustom object into a web developer defined layout class. See: https://drafts.css-houdini.org/css-layout-api/#invoke-a-layout-callback Currently the only useful thing this does to allow the web developer to return an "auto" block-size, e.g. registerLayout('foo', class { *intrinsicSizes() {} *layout() { return { autoBlockSize: Math.random() * 100; } // FUN! } }); The engine calculates the inline-size, and adjusts the block-size for the web developer. This is a simplification on the current API as spec'd but we'll see what the HoudiniTF thinks of this approach. The other large behaviour change is appropriate "fallback" handling when something goes wrong. See "fallback" tests. Bug: 726125 Change-Id: I08cd2e439f4321bd534a4e3f7222fbdb898e1785 Reviewed-on: https://chromium-review.googlesource.com/917423 Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Hiroki Nakagawa <nhiroki@chromium.org> Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/master@{#537371} 16 February 2018, 19:36:48 UTC
e56563d Correct integration with Sauce Labs service (#9484) A recently merged patch centralized configuration values which defined the domain names available during test execution [1]. That patch was based on a mistaken assumption regarding the location of that value and the stage of the test execution at which it would be available. (Specifically: the value is not present in the environment configuration object when the "environment extras" are initialized.) This interfered with the initialization of the "environment" for the Sauce Labs service, making it impossible to run the tests there. Defer the retrieval of the environment configuration object to the time that object's context manager is activated. Update the call sites to provide the environment configuration at this moment. Also update the signature of the context manager for the `FontInstaller` "environment extra" to accept this second parameter. [1] https://github.com/w3c/web-platform-tests/pull/8614 16 February 2018, 19:03:38 UTC
cb2d75f wptrunner: Fix regression in config, interpreter (#9480) Prior to the application of this patch, the configuration property named `host` was required to expand the templated JSON file maintained within the WPT CLI. By removing the property from some browser definitions without updating that template, commit 1b4f253 introduced failures when using the `run` sub-command with the effected browsers. Refactor the logic for generating the configuration to use an in-memory representation (instead of a file-based template) and conditionally extend this object with the `host` option for browsers which specify it. Document the rationale for the browser which requires this functionality. 16 February 2018, 18:59:26 UTC
256f578 Merge pull request #9561 from w3c/sync_54fa770d8e356a5f4fa7861f2103b6a7b9175eb2 Merge pull request #9561 from sync_54fa770d8e356a5f4fa7861f2103b6a7b9175eb2 16 February 2018, 17:55:13 UTC
54fa770 Implement element.innerText setter Upstreamed from https://github.com/servo/servo/pull/20054 [ci skip] 16 February 2018, 17:55:01 UTC
81ada42 Fix timeouts in WPT AudioParam tests Replace the tests that are using ScriptProcessor and online contexts with an offline context and verify all the output values instead of just one. This change exposed a couple of issues: - setTargetAtTime wasn't actually testing setTargetAtTime because a linearRampToValueAtTime event was called at the same time, effectively replacing the setTargetAtTime event - linearRampToValue and exponentialRampToValue tests expose bugs in Chrome's implementation of these when the event is scheduled in the past, and there is no preceding event. Bug: 812285, 626703 Change-Id: Iad3f54dd4373411431c019de44d4c3bad07587ff Reviewed-on: https://chromium-review.googlesource.com/919151 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by: Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#537311} 16 February 2018, 16:22:23 UTC
b6df67b Test the serialization of the font shorthand. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436031 gecko-commit: 7806af854343c043a2645a4034fdc7812f65daad gecko-integration-branch: central gecko-reviewers: xidorn 16 February 2018, 14:50:00 UTC
0086900 Add navigator.webdriver attribute. This patch adds an enumerable, configurable, readonly attribute "webdriver" to the Navigator object. The attribute is true when the -marionette flag has been passed to Firefox or the marionette.enabled preference is true. Otherwise it is false. The definition of the interface is found in the WebDriver standard: https://w3c.github.io/webdriver/webdriver-spec.html#interface The navigator.webdriver attribute is meant as an indication to web authors that a document is visited by WebDriver. It is important to stress that it is not meant as a fool-proof way to detect that a website is being visited by a browser automation tool, but as a tool for web documents to take alternate code paths. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1169290 gecko-commit: 9ddfd21554293dec5a4bf2e5375ae4f3c9f2ded0 gecko-integration-branch: autoland gecko-reviewers: bz, maja_zf 16 February 2018, 14:29:52 UTC
b7bcc2e Test that click events are properly dispatched to non-disabled form controls in presence of dynamic changes. Co-authored-by: Andreas Farre <afarre@mozilla.com> bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1405087 gecko-commit: aad5349b3458bc3414e274b33fa86a1123901ff2 gecko-integration-branch: autoland gecko-reviewers: bz 16 February 2018, 14:00:50 UTC
ae06fa4 [LayoutNG] Don't add zero-width floats to the exclusion space. The only thing such floats should affect is the block position of subsequent floats (float rule §5 [1] and clearance). They should not affect the inline position or inline size of subsequent floats or new formatting contexts. The spec isn't actually clear here, although the browsers agree on the above. Submitted https://github.com/w3c/csswg-drafts/issues/2312 [1] https://www.w3.org/TR/CSS22/visuren.html#float-position Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Ia9e724c8a58fcb017f86f26bdf90394f09414f4e Reviewed-on: https://chromium-review.googlesource.com/919065 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#537274} 16 February 2018, 10:39:08 UTC
e7607da service worker: Disallow interception for EMBED and OBJECT requests. This matches the service worker specification and Firefox. This change itself is probably not enough to skip all EMBED/OBJECT requests, as some requests get initiated by PepperURLLoaderHost or MimeHandlerViewContainer. In implementor concerns: https://w3c.github.io/ServiceWorker/#implementer-concerns "Plug-ins should not load via service workers. As plug-ins may get their security origins from their own urls, the embedding service worker cannot handle it. For this reason, the Handle Fetch algorithm makes the potential-navigation-or-subresource request (whose context is either <embed> or <object>) immediately fallback to the network without dispatching fetch event." In Handle Fetch: https://w3c.github.io/ServiceWorker/#handle-fetch "If request is a potential-navigation-or-subresource request, then: Return null." R=kinuko, yhirano Bug: 771933 Change-Id: Ia04ae8dec8c968de6a73dca088aa88a67b21718a Reviewed-on: https://chromium-review.googlesource.com/923445 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#537245} 16 February 2018, 07:45:01 UTC
b52a7a2 [css-typed-om] Make StylePropertyMap.set work with calcs. Currently StylePropertyMap.set doesn't actually work with calcs. The current way to check if something is, say, a <length> is to check its CSSStyleValue::Type. However, this doesn't return the right value for CSSMathValues, whose types may be quite complicated. The correct way is to use the CSSNumericValue matching algorthms: CSSNumericValue::MatchesLength, which also takes into account CSSMathValues and percent hints. This patch changes the following to make this work: - Removed base types from CSSStyleValue::StyleValueType. A base type like "length" is not really a CSSStyleValue type. - Removed unused StyleValueTypeToString. - Changed "Percent" to "Percentage" in CSSProperties.json5 as that's the correct term. - Changed make_cssom_types to use the matching algorithms from CSSNumericValue. Bug: 545318 Change-Id: I16aa71a4873e9992749f0f52ba641671d109170e Reviewed-on: https://chromium-review.googlesource.com/901002 Commit-Queue: Darren Shen <shend@chromium.org> Reviewed-by: nainar <nainar@chromium.org> Cr-Commit-Position: refs/heads/master@{#537206} 16 February 2018, 05:56:42 UTC
e60dd14 Add tests for Animation.updatePlaybackRate; These tests test the behavior introduced in the following changesets to the Web Animations specification: 1. https://github.com/w3c/csswg-drafts/commit/5af5e276badf4df0271bcfa0b8e7837fff24133a 2. https://github.com/w3c/csswg-drafts/commit/673f6fc1269829743c707c53dcb04092f958de35 which can be viewed as a merged diff at: https://gist.github.com/birtles/d147eb2e0e2d4d37fadf217abd709411 See the following spec issues: 1. https://github.com/w3c/csswg-drafts/issues/2059 2. https://github.com/w3c/csswg-drafts/issues/2266 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436659 gecko-commit: 7465cb110ae5ec2e2ca73182caf5293f0efc8fd5 gecko-integration-branch: autoland gecko-reviewers: hiro 16 February 2018, 04:53:45 UTC
454b4db Further divide up finishing tests; bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436659 gecko-commit: a1a5840a6bb53e305ba02bcbeb215659342d0edb gecko-integration-branch: autoland gecko-reviewers: hiro 16 February 2018, 04:53:45 UTC
42c27bb Tidy up tests for "finishing an animation"; These patches update these tests as follows: * Used async/await where it simplifies the tests * Updated the test descriptions to reflect what they are testing in the timing model * Fixed a couple of bugs where we set the playbackRate on a pause-pending animation (which causes it to no longer be pause-pending). In the process I noticed a couple of tests that don't really belong here. They will be moved in the next patch. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436659 gecko-commit: 44ddf14fd3346658c3223f13652073fafbfa48fa gecko-integration-branch: autoland gecko-reviewers: hiro 16 February 2018, 04:53:45 UTC
68544c4 Move finishing tests to timing-model; These tests are not testing the interface so much as the 'finish an animation' procedure. This patch simply moves the tests as-is. They will be simplified in the next patch in this series. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436659 gecko-commit: b86e1331cb36634fd33677043b61fc0c1d8485bc gecko-integration-branch: autoland gecko-reviewers: hiro 16 February 2018, 04:53:45 UTC
496f9b9 Simplify playback rate setting test; I didn't like the way these tests were written so I decided to rewrite them to make it more clear what they are trying to test. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436659 gecko-commit: b93a8879555d2fa7e7d4e00a275513a3a6338b35 gecko-integration-branch: autoland gecko-reviewers: hiro 16 February 2018, 04:53:45 UTC
8616b71 Move playback rate test to timing-model; The test under web-animations/interfaces/Animation/playbackRate.html is really testing the timing model so this patch moves it there. We'll simplify it in the next patch. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436659 gecko-commit: c2c352456a4cf62dcc12f851138b04397675a445 gecko-integration-branch: autoland gecko-reviewers: hiro 16 February 2018, 04:53:45 UTC
78c51f7 Use async/await in timing-model/animations tests; Using async/await makes these tests easier to read and appears to be supported in all browsers now. This patch updates the tests in web-animations/timing-model/animations since we will update these tests later in this patch series and it will be easier if we convert them to using async first. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436659 gecko-commit: c8ee4a012dae506ae06bb5b2ad50942b04c1aaaa gecko-integration-branch: autoland gecko-reviewers: hiro 16 February 2018, 04:53:45 UTC
4d81f72 Rename tests in timing-model/animations to match spec section titles; In this folder we have a mixture of tests named after the procedure they are testing or the section that contains the procedure. The latter seems to be more common and makes it a little easier to check that all sections are tested so this patch renames files to refer to the section titles instead. It also updates a few of the test file titles and URLs. bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1436659 gecko-commit: 0634cd8f08ebe0905a9188fb1398c7b5f889c5dc gecko-integration-branch: autoland gecko-reviewers: hiro 16 February 2018, 04:53:45 UTC
2b4cdad Add initial test set for Accessible Name and Description Computation 1.1 (#9540) Note that many of the tests are currently named with a number. Those tests were taken from the original (1.0) test suite created by the PFWG, and the file names are being preserved to facilitate comparison of results. 16 February 2018, 01:23:53 UTC
d04c0d5 Add tests for the breaking of a multicolumn across columns, including backgrounds and column rules. (#9527) The *-nobackground-* tests pass in Firefox and Chrome, and the others pass in Chrome and fail in Firefox due to what I (as a Gecko implementor) consider to be a Firefox bug. I haven't yet tested other engines. (Though -nobackground-003 fails in Firefox due to a different bug, and multicol-breaking-002 doesn't trigger the background-related Firefox bug.) Given the level of ambiguity in the multicol spec, I suspect these tests probably test some things that aren't formally specified. However, I think that's probably OK for now. One issue that I know of that they depend on the spec for is w3c/csswg-drafts#2309. 15 February 2018, 20:58:32 UTC
54128af Merge pull request #9541 from w3c/sync_af66d6bb941ce9abb4fbe7af6d37eac0becae55f Merge pull request #9541 from sync_af66d6bb941ce9abb4fbe7af6d37eac0becae55f 15 February 2018, 17:27:20 UTC
af66d6b Fix an error in executorservo.py ``` TypeError: make_hosts_file() takes exactly 2 arguments (0 given) ``` Upstreamed from https://github.com/servo/servo/pull/20055 [ci skip] 15 February 2018, 17:27:13 UTC
5ee47da Reftest for handling important when there is an animation. This tests https://drafts.csswg.org/css-cascade/#importance 15 February 2018, 15:26:01 UTC
1a3951e [USVString] Apply USVString into RTCDataChannel.send Latest spec changed DOMString type of send with USVString. - https://w3c.github.io/webrtc-pc/#dom-rtcdatachannel This CL applies USVString type into the RTCDataCchannel.send according to the spec. Bug: 790860 Change-Id: I3d2e3fef8e6a8cc8ca94a8ae18c2ccb7dcc48016 Reviewed-on: https://chromium-review.googlesource.com/917741 Reviewed-by: Takeshi Yoshino <tyoshino@chromium.org> Reviewed-by: Tommi <tommi@chromium.org> Commit-Queue: Tommi <tommi@chromium.org> Cr-Commit-Position: refs/heads/master@{#537015} 15 February 2018, 15:09:29 UTC
e2b2513 [LayoutNG] Allow zero-width layout opportunities. Zero-width floats or in-flow block-level objects that establish a new formatting context may fit beside preceding floats even if there's zero inline space left. With this change, a couple of tests start passing, but coverage seems a bit low, so I added a few new ones. Had to rebaseline fast/text/word-break.html because a zero-width line may now fit beside a float that takes up all available inline space. There was a <br clear=all> in the test that used to insert the line below such a float. We're now compatible with the others (and our old selves). Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Iaf394b7039545eea235b2841457f1662e5890ba9 Reviewed-on: https://chromium-review.googlesource.com/916262 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#537000} 15 February 2018, 13:46:14 UTC
09ca41d Updating Server creation for localhost (#9202) In my last change, I missed this line of code. Adding the host parameter and removing the base_path param. 15 February 2018, 12:09:43 UTC
c23fdbd Fix #8806: Allow about:blank as reference URL (#9421) 15 February 2018, 12:06:02 UTC
cf12c27 Add @drott (#9525) 15 February 2018, 12:04:04 UTC
49d8cd2 Make WPT webrtc/simplecall.html pass The test was failing because passing a null ("end of candidates") candidate to addIceCandidate is not permitted. Spec link: https://www.w3.org/TR/webrtc/#dom-rtcpeerconnection-addicecandidate https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-addicecandidate Bug: none Change-Id: I1f22d27393a482a882ebe9735488d8cb723b6e75 Reviewed-on: https://chromium-review.googlesource.com/918662 Reviewed-by: Henrik Boström <hbos@chromium.org> Commit-Queue: Harald Alvestrand <hta@chromium.org> Cr-Commit-Position: refs/heads/master@{#536977} 15 February 2018, 09:53:49 UTC
e4730a5 [css-typed-om] Move inline style map layout tests to WPT. We used to have some inline style map layout tests for a subset of properties. This patch moves them to WPT using the new test harness. Properties added: - white-space - vertical-align - visibility - z-index Bug: 774887 Change-Id: Icce056c4d7f56eed3da05834b1c561fddec53a15 Reviewed-on: https://chromium-review.googlesource.com/918203 Commit-Queue: nainar <nainar@chromium.org> Reviewed-by: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#536966} 15 February 2018, 08:22:11 UTC
7f24ed8 Merge pull request #9448 from kaixinjxq/Sensor_accelerometer Adapt Accelerometer IDL tests to latest spec 15 February 2018, 04:27:46 UTC
b16e840 Merge pull request #9449 from kaixinjxq/Sensor_gyroscope Adapt Gyroscope IDL tests to latest spec 15 February 2018, 04:27:31 UTC
38fe6c6 Merge pull request #9450 from kaixinjxq/Sensor_magnetometer Adapt Magnetometer IDL tests to latest spec 15 February 2018, 04:27:13 UTC
5c67a16 Merge pull request #9451 from kaixinjxq/Sensor_orientation Adapt Orientation IDL tests to latest spec 15 February 2018, 04:26:54 UTC
30c492f CSS2 tests were only correct if the default font has two weights. (#9533) font-weight-rule 005 and 007 both made the incorrect assumption that there were no weights lighter than 400 or greater than 700 in the default font. Added new references for them which don't depend on that. 15 February 2018, 01:30:21 UTC
9b0130b Add test for empty URL behaviour (#9534) 15 February 2018, 01:17:18 UTC
c42893e CORB: WPT tests for <link rel="stylesheet" href="..."> tag interactions. Bug: 809261, 806996 Change-Id: I97df15c54f72b571a7e8622c3137ec597d5244a9 Reviewed-on: https://chromium-review.googlesource.com/919171 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by: Nick Carter <nick@chromium.org> Cr-Commit-Position: refs/heads/master@{#536877} 15 February 2018, 01:07:36 UTC
6be7f24 CORB: WPT tests for <script> tag interactions. Bug: 809261, 806996 Change-Id: Ia0f5acdc517f79aa9075447f8b543a141313e098 Reviewed-on: https://chromium-review.googlesource.com/917195 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by: Nick Carter <nick@chromium.org> Cr-Commit-Position: refs/heads/master@{#536863} 15 February 2018, 00:03:32 UTC
56590a3 CORB: WPT tests for <img> tag interactions. Bug: 809261, 806996 Change-Id: Ifb8ce26b4fb5bccf18ea22013e898b81c9654c14 Reviewed-on: https://chromium-review.googlesource.com/915103 Commit-Queue: Łukasz Anforowicz <lukasza@chromium.org> Reviewed-by: Nick Carter <nick@chromium.org> Cr-Commit-Position: refs/heads/master@{#536844} 14 February 2018, 23:31:45 UTC
9881b7a Merge pull request #9408 from ewilligers/line-pathLength SVG Shapes: line supports pathLength 14 February 2018, 23:22:40 UTC
a02389e Add test for wrappable content that has flex:none (#9518) Add test for wrappable content that has flex:none See https://bugzilla.mozilla.org/show_bug.cgi?id=1374540; per spec, the flex:none content should be allowed its full content width. This currently works in Chrome, Edge, Safari, and Opera. 14 February 2018, 23:09:09 UTC
35f53ee Merge pull request #9529 from w3c/sync_68b6e3eb89eac82773e525994ec6463f840f81d7 Merge pull request #9529 from sync_68b6e3eb89eac82773e525994ec6463f840f81d7 14 February 2018, 23:06:35 UTC
e1eddc6 Merge pull request #9528 from w3c/sync_d202d15fc2c520204d44bd8cc3ae9d0a8a775758 Merge pull request #9528 from sync_d202d15fc2c520204d44bd8cc3ae9d0a8a775758 14 February 2018, 23:06:26 UTC
68b6e3e Adding tests with DRY coding technique Upstreamed from https://github.com/servo/servo/pull/20050 [ci skip] 14 February 2018, 23:06:20 UTC
d202d15 Implement element.innerText getter Upstreamed from https://github.com/servo/servo/pull/19754 [ci skip] 14 February 2018, 23:06:20 UTC
6a33114 Extend font-feature-settings-serialization-001.html to cover bug 1434724. Differential Revision: https://phabricator.services.mozilla.com/D574 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1434924 gecko-commit: 15c2e4c690700c6c115f8afe5e44ded10d943538 gecko-integration-branch: autoland gecko-reviewers: dholbert 14 February 2018, 22:30:28 UTC
8403622 Merge pull request #9397 from faceless2/bfo-css-fonts-3-fontfeature Added new testcases to test font-variant precedence rules 14 February 2018, 22:15:09 UTC
e151f89 Check that fetch request signal following works correctly This test already tests integration, so this is just an extra check. Follows https://github.com/whatwg/fetch/pull/670. 14 February 2018, 18:38:21 UTC
08bc228 Support MediaStreamTrack.getCapabilities() for echoCancellation and deviceId Intent to implement and ship: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/h4sCuIqb_78 Bug: 293292 Change-Id: Ib1869d4e940cffb3012572451268dec1ffb55a0e Reviewed-on: https://chromium-review.googlesource.com/899402 Commit-Queue: Guido Urdaneta <guidou@chromium.org> Reviewed-by: Kentaro Hara <haraken@chromium.org> Reviewed-by: Guido Urdaneta <guidou@chromium.org> Cr-Commit-Position: refs/heads/master@{#536709} 14 February 2018, 14:41:58 UTC
9e98749 [css-typed-om] Move inline style map layout tests to WPT. We used to have some inline style map layout tests for a subset of properties. This patch moves them to WPT using the new test harness. Properties added: - position - padding-{top,bottom,left,right} - text-align - text-decoration-style Bug: 774887 Change-Id: I9fc9d6d425b1a5ce0c71f8d918bc5893c74c4e89 Reviewed-on: https://chromium-review.googlesource.com/917927 Commit-Queue: nainar <nainar@chromium.org> Reviewed-by: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#536698} 14 February 2018, 11:53:42 UTC
7bdac4a Setting "" as <track> 'src' should fail the first time When setting a track .src to "", we would resolve the URL to a null URL, which matched the default initialized HTMLTrackElement::url_, meaning that readyState was not advanced and no 'error' event fired in this case. Extend the "url == url_" check with a check for readyState differing from 'none'. Also rewrite HTMLTrackElement::getReadyState to avoid using EnsureTrack(). Bug: 811713 Change-Id: Icd190492639c53e09a7e018202b69ac6e919a94c Reviewed-on: https://chromium-review.googlesource.com/916004 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: srirama chandra sekhar <srirama.m@samsung.com> Cr-Commit-Position: refs/heads/master@{#536685} 14 February 2018, 09:41:20 UTC
c26ee50 service worker: Add tests for cross-origin WebVTT responses with redirects. This is a follow-up to: https://chromium-review.googlesource.com/c/chromium/src/+/907013 Tests only; the code seems to work. R=horo, kinuko Bug: 808825 Change-Id: I6b86a4dac159b754cfe5e6b92ac390c07de89ab3 Reviewed-on: https://chromium-review.googlesource.com/918261 Reviewed-by: Kinuko Yasuda <kinuko@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#536679} 14 February 2018, 09:19:35 UTC
783faf5 [css-typed-om] Move inline style map layout tests to WPT. We used to have some inline style map layout tests for a subset of properties. This patch moves them to WPT using the new test harness. Fixed some bugs involving properties not given the correct metadata (e.g. border-style should not take an <image>). Transform is failing tests because it should compute to as specified but it's computing to 'none' (will fix this later). TODO in follow up patches: - Test list-valued properties properly. - Add more test examples to <position> and <image>. Bug: 774887 Change-Id: I93f20a457e2220329b661787c7d557ee28b1f62d Reviewed-on: https://chromium-review.googlesource.com/917921 Reviewed-by: nainar <nainar@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#536658} 14 February 2018, 06:29:39 UTC
e757885 Fetch API: Don't DCHECK on a 302 response with a Location header with empty value. Blink was failing a DCHECK when it expected a redirect to be taken because the request mode was 'follow' and the response had a redirect status code and Location header. However, Chrome's //net considers a Location header with an empty value to be the same as no Location header at all. See the comments on bug 810288 about net::HttpResponseHeaders::IsRedirect(). WPT tests are added. The spec is unclear (https://github.com/whatwg/url/issues/373) but seems to either say to fail with network error or enter a loop of self-redirects that will eventually hit the redirect limit and fail with network error. Chrome currently fails this test because it treats the Location as as non-existent, i.e., not a redirect response. Bug: 810288,707185 Change-Id: Iaca93976aaa697380b1542ab45d63c318f5050b0 Reviewed-on: https://chromium-review.googlesource.com/910753 Reviewed-by: Yutaka Hirano <yhirano@chromium.org> Reviewed-by: Tsuyoshi Horo <horo@chromium.org> Commit-Queue: Matt Falkenhagen <falken@chromium.org> Cr-Commit-Position: refs/heads/master@{#536644} 14 February 2018, 05:07:38 UTC
d0114ef [custom-elements] Add HTML serialization tests This is for https://github.com/whatwg/html/pull/3444 14 February 2018, 02:31:16 UTC
5479ebe [css-typed-om] Refactor the per-property test harness. This patch refactors the per-property test harness quite a bit to deal with property specific behaviour: - We allow tests to override the expectation/asserts for specified and computed values. So it means that a property might compute 'auto' to '0px' and we can easily assert that by passing a callback to 'computed'. - We moved margin-top to margin and test all the margin properties (except the margin shorthand). - We made margin properties work by setting the correct metadata in the CSSProperties.json5. - We removed unitless zero tests. They don't seem to be required by the spec. Bug: 774887 Change-Id: I08605ac6af01576ff9f6c878c2ca9e280c9948e1 Reviewed-on: https://chromium-review.googlesource.com/915884 Reviewed-by: nainar <nainar@chromium.org> Commit-Queue: Darren Shen <shend@chromium.org> Cr-Commit-Position: refs/heads/master@{#536603} 14 February 2018, 02:26:58 UTC
1e4fe87 [custom-elements] Some fixes for "is" attribute behavior changes This is for https://github.com/whatwg/dom/pull/566. - document.createElement() and createElementNS() don't add "is" content attribute. - cloneNode() should clone custom elements even if they have no "is" content attributes or have "is" content attribute inconsistent with "is value." 14 February 2018, 00:27:23 UTC
e9ffe0b [Picture-in-Picture] Add PictureInPictureWindow width and height stubs This introduces PictureInPictureWindow interface with |width| and |height| attributes. |onresize| event will follow in an upcoming CL. |width| and |height| simply return fake values, respectively 500 and 300, for now as we don't have any resize events coming from the backend yet. They are reset to 0 though when PictureInPictureWindow state is closed. Bug: 806249 Change-Id: I5e0f0875a53b7f659bc3469e562d3db5e075f31d Reviewed-on: https://chromium-review.googlesource.com/899347 Commit-Queue: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by: Mounir Lamouri <mlamouri@chromium.org> Reviewed-by: apacible <apacible@chromium.org> Cr-Commit-Position: refs/heads/master@{#536520} 13 February 2018, 23:00:03 UTC
a076c3e Not having cached style data doesn't guarantee we don't need to update media query stuff. In particular, even when there are no frames, we may have used the rule cascades / stylist data (for different stuff, like font-feature-values, thus the regressing bug). Using the old rule cascades / stylist data without knowing it has changed is wrong, thus the bug. Now that media query change stuff is async and has a well-defined processing point, we should be able to just call it without too much worry. Also note that at the point the extra hints are passed, if there's no root frame / elements are not styled / etc, we'll optimize away the change hint. The test-case intermittently fails without this patch, but I didn't manage to make a better one, unfortunately :( bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1424878 gecko-commit: 88b42bd5847abac58a62c4d6b33c1509bfce5f3d gecko-integration-branch: autoland gecko-reviewers: bz 13 February 2018, 20:11:55 UTC
54c8d71 Add format-specifier-applied-to-Symbol console tests Follows https://github.com/whatwg/console/pull/123. See https://github.com/whatwg/console/issues/113 and https://github.com/w3c/web-platform-tests/pull/9488 for follow-up work. 13 February 2018, 19:48:47 UTC
30c53fa Move http/tests/w3c/webperf/submission/Intel/resource-timing to WPT I This CL moves the tests previously WPT-fied from http/tests/w3c/webperf/submission/Intel/resource-timing to wpt. Bug: 498037 Change-Id: I84ae0dbb9f5e590fe5db1444294d703a9fc4faaf Reviewed-on: https://chromium-review.googlesource.com/913969 Reviewed-by: Timothy Dresser <tdresser@chromium.org> Commit-Queue: Nicolás Peña Moreno <npm@chromium.org> Cr-Commit-Position: refs/heads/master@{#536380} 13 February 2018, 17:33:20 UTC
43deb07 Correct serialization of background-color (#9499) According to https://drafts.csswg.org/css-color/#resolving-color-values, transparent should serialize to "rgba(0, 0, 0, 0)", and named colors should serialize to their equivalent value in rgb notation. Change the expectations for 3 background tests in order to match this part of the spec. 13 February 2018, 16:43:03 UTC
2a5876e Sync Mozilla tests as of https://hg.mozilla.org/mozilla-central/rev/d49553765a743ebbd4f08e92a93c9d811ee064c2 . 13 February 2018, 16:07:43 UTC
1ab6e31 Suppress duplicate reference name warning. 13 February 2018, 16:07:16 UTC
c6b11a5 Handle ::slotted in ComputeLinkMatchType. We skipped the selector list for ::slotted looking for :visited and :link pseudo classes and ended up applying such rules with both :visited and :link style. Bug: 808392 Change-Id: I85956902f3ca9cea01c96ef5c56ccf7f0ee23671 Reviewed-on: https://chromium-review.googlesource.com/904903 Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#536328} 13 February 2018, 11:07:36 UTC
back to top