Index: ppapi/api/pp_errors.idl |
diff --git a/ppapi/api/pp_errors.idl b/ppapi/api/pp_errors.idl |
index 2d958ecaeeb0d4c9e5bd22b7880e5b38fd0f9b50..b17e87c73ee1326751f9b717332296a3f6c7a981 100644 |
--- a/ppapi/api/pp_errors.idl |
+++ b/ppapi/api/pp_errors.idl |
@@ -140,6 +140,13 @@ |
* thread. |
*/ |
PP_ERROR_WRONG_THREAD = -52, |
+ /** |
+ * Indicates that a null completion callback was used on a thread handling a |
+ * blocking message from JavaScript. Null completion callbacks "block until |
+ * complete", which could cause the main JavaScript thread to be blocked |
+ * excessively. |
+ */ |
+ PP_ERROR_WOULD_BLOCK_THREAD = -53, |
/** |
* This value indicates that the connection was closed. For TCP sockets, it |