Update input stream reader error handling
Use newly specified parse errors: https://html.spec.whatwg.org/multipage/parsing.html#parse-errors
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
|
||||
@param reason The string describing the reason of the reported error.
|
||||
*/
|
||||
typedef void (^ HTMLStreamReaderErrorCallback)(NSString *reason);
|
||||
typedef void (^ HTMLStreamReaderErrorCallback)(NSString *code, NSString *details);
|
||||
|
||||
/**
|
||||
* HTML Input Stream Reader processor conforming to the HTML standard
|
||||
|
||||
Reference in New Issue
Block a user