Bug 613068 - Add version argument to JS_ReadStructuredClone. r=bent.

This commit is contained in:
Jason Orendorff
2010-11-24 14:14:02 -06:00
parent f0a6f235aa
commit da96ddcb93
5 changed files with 18 additions and 7 deletions

View File

@@ -343,3 +343,4 @@ MSG_DEF(JSMSG_SC_BAD_SERIALIZED_DATA, 260, 1, JSEXN_INTERNALERR, "bad serialized
MSG_DEF(JSMSG_SC_UNSUPPORTED_TYPE, 261, 0, JSEXN_TYPEERR, "unsupported type for structured data")
MSG_DEF(JSMSG_SC_RECURSION, 262, 0, JSEXN_INTERNALERR, "recursive object")
MSG_DEF(JSMSG_CANT_WRAP_XML_OBJECT, 263, 0, JSEXN_TYPEERR, "can't wrap XML objects")
MSG_DEF(JSMSG_BAD_CLONE_VERSION, 264, 0, JSEXN_ERR, "unsupported structured clone version")