Question about step 1 of section '12.4.1. process(ArrayBufferView data)'

All,

In step 1 of 12.4.1. process(ArrayBufferView data) [1] the text reads:

   'If the internal state is in the "error" state, throw an InvalidStateError exception and abort these steps.'

Shouldn't this be:

   'If the internal state is in the "error" or "complete" state, throw an InvalidStateError exception and abort these steps.'

Because I think that it isn't possible to process additional data when you are finishing or have finished a crypto operation.

Kind regards,

Nick Van den Bleeken
R&D Manager

Phone: +32 3 425 41 02
Office fax: +32 3 821 01 71
nick.van.den.bleeken@inventivegroup.com<mailto:nick.van.den.bleeken@inventivegroup.com>
www.inventivedesigners.com

1: http://www.w3.org/TR/WebCryptoAPI/#dfn-CryptoOperation-method-process



________________________________

Inventive Designers' Email Disclaimer:
http://www.inventivedesigners.com/email-disclaimer

Received on Thursday, 28 February 2013 14:29:20 UTC