Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(286)

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/geometry-1/DOMMatrix-css-string.worker.js

Issue 2873663002: Import WPT css/geometry-1 (Closed)
Patch Set: x Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 // https://drafts.fxtf.org/geometry/#DOMMatrix
2
3 importScripts("/resources/testharness.js");
4
5 ['DOMMatrix', 'DOMMatrixReadOnly'].forEach(constr => {
6 test(() => {
7 assert_true(constr in self, `${constr} should exist`);
8 assert_throws(new TypeError(), () => new self[constr]('matrix(1,0,0,1,0,0)') );
9 }, `${constr} constructor with string argument in worker`);
10 });
11
12 test(() => {
13 assert_false('setMatrixValue' in DOMMatrix.prototype, 'on prototype');
14 const matrix = new DOMMatrix();
15 assert_false('setMatrixValue' in matrix, 'on instance');
16 }, 'DOMMatrix setMatrixValue in worker');
17
18 done();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698