Anne van Kesteren (2014-01-11T14:13:02.000Z)
On Fri, Jan 10, 2014 at 7:00 PM, Allen Wirfs-Brock
<allen at wirfs-brock.com> wrote:
> [...] it might be reasonable to have a solution that isn't tied to a specific environment.

Agreed. I have argued the same for URL parsing
http://url.spec.whatwg.org/ at some point.

As for the API in the Encoding Standard, I think the only strong tie
to the DOM at this point is its usage of DOMException. I have a few
times on this list tried to figure out what the right way forward is
for exceptions within the web platform so that they still fit well
within the ES universe, but none of those led anywhere satisfactory
yet.


-- 
http://annevankesteren.nl/
domenic at domenicdenicola.com (2014-01-17T04:42:13.595Z)
On Fri, Jan 10, 2014 at 7:00 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> [...] it might be reasonable to have a solution that isn't tied to a specific environment.

Agreed. I have argued the same for URL parsing
http://url.spec.whatwg.org/ at some point.

As for the API in the Encoding Standard, I think the only strong tie
to the DOM at this point is its usage of DOMException. I have a few
times on this list tried to figure out what the right way forward is
for exceptions within the web platform so that they still fit well
within the ES universe, but none of those led anywhere satisfactory
yet.