W3C home > Mailing lists > Public > public-fxtf-archive@w3.org > May 2017

[fxtf-drafts] [geometry] Structured serialization should branch on is 2D

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Mon, 15 May 2017 13:44:36 +0000
To: public-fxtf-archive@w3.org
Message-ID: <issues.opened-228719626-1494855875-sysbot+gh@w3.org>
zcorpan has just created a new issue for https://github.com/w3c/fxtf-drafts:

== [geometry] Structured serialization should branch on is 2D ==
See https://codereview.chromium.org/2874203003/#msg8

Consider this test:
<!DOCTYPE html>
onmessage = (e) => w(1 / e.data.m13);
var m = new DOMMatrix();
m.m13 = -0;
postMessage(m, '*');
Per current spec this should log
log: true
log: -Infinity
But the Chromium CL it would say Infinity, I believe, since it only copies `a`-`f` for a 2d matrix. I think that is very reasonable, so suggest we change the spec.

cc @domenic @fserb

Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/161 using your GitHub account
Received on Monday, 15 May 2017 13:44:44 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:50:21 UTC