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:
iska
2017-09-07 22:05:02 +02:00
parent 20ebd8c603
commit 6dee6c1e74
2 changed files with 15 additions and 10 deletions
+1 -1
View File
@@ -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