commit | bca17f295290d53553383c739ce5731e8158a643 | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Mon Oct 15 19:55:20 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Oct 15 19:55:20 2018 |
tree | 481d09c9a3079998ae8e7b8f708563f35a6b7ed8 | |
parent | 7b5dde84d016300f87d56be73dd47d7e4ca9479e [diff] |
Path2D.addPath should throw if DOMMatrix validation fails Step two of [1], invokes [2], whose step 1 invokes [3], which says to throw a TypeError if the dictionary is not "well-formed". Also remove some dead code in DOMMatrix/DOMMatrixReadOnly and remove few unused includes of svg_matrix_tear_off.h. [1] https://html.spec.whatwg.org/multipage/canvas.html#dom-path2d-addpath [2] https://drafts.fxtf.org/geometry/#create-a-dommatrix-from-the-2d-dictionary [3] https://drafts.fxtf.org/geometry/#matrix-validate-and-fixup-2d Bug: 895244 Change-Id: Icd3f7058ce945d761ab7128e294ccc2e3fd3a879 Reviewed-on: https://chromium-review.googlesource.com/c/1278789 Reviewed-by: Fernando Serboncini <fserb@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#599723}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .