Skip to content

Commit

Permalink
Merge 7586892 into 5ff5cc3
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan authored May 4, 2017
2 parents 5ff5cc3 + 7586892 commit 9d68b49
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
18 changes: 18 additions & 0 deletions css/geometry-1/DOMMatrix-css-string.worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
// https://drafts.fxtf.org/geometry/#DOMMatrix

importScripts("/resources/testharness.js");

['DOMMatrix', 'DOMMatrixReadOnly'].forEach(constr => {
test(() => {
assert_true(constr in self, `${constr} should exist`);
assert_throws(new TypeError(), () => new self[constr]('matrix(1,0,0,1,0,0)') );
}, `${constr} constructor with string argument in worker`);
});

test(() => {
assert_false('setMatrixValue' in DOMMatrix.prototype, 'on prototype');
const matrix = new DOMMatrix();
assert_false('setMatrixValue' in matrix, 'on instance');
}, 'DOMMatrix setMatrixValue in worker');

done();
3 changes: 3 additions & 0 deletions lint.whitelist
Original file line number Diff line number Diff line change
Expand Up @@ -769,6 +769,9 @@ CSS-COLLIDING-SUPPORT-NAME: css/css-display-3/support/util.js
CSS-COLLIDING-SUPPORT-NAME: css/CSS2/normal-flow/support/replaced-min-max-1.png
CSS-COLLIDING-SUPPORT-NAME: css/vendor-imports/mozilla/mozilla-central-reftests/ui3/support/replaced-min-max-1.png

# TODO https://github.com/w3c/web-platform-tests/issues/5770
MISSING-LINK: css/geometry-1/DOMMatrix-css-string.worker.js

WEBIDL2.JS:.gitmodules

# Manual test that uses console.logs for feedback
Expand Down

0 comments on commit 9d68b49

Please sign in to comment.