- From: Hwanseung Lee via GitHub <sysbot+gh@w3.org>
- Date: Wed, 26 Jul 2017 04:39:27 +0000
- To: public-houdini-archive@w3.org
hwanseung has just created a new issue for https://github.com/w3c/css-houdini-drafts: == [css-typed-om] is this intentionally thing to throw different errors when when failed converting to unit type from string? == when failed converting to unit type from string in CSSUnitValue's constructor, it throws a SyntexError. but when setting |unit| value, it thorws a TypeError. is this intentionally thing to throw different errors? i think if it were not intentionally, it is better to throw a same error about upper two cases in order to maintain consistency. and if these have to throw a same error, i think it is better to throw SyntaxError than TypeError. https://drafts.css-houdini.org/css-typed-om-1/#cssunitvalue Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/432 using your GitHub account
Received on Wednesday, 26 July 2017 04:39:50 UTC