[webnfc] Correct error type
Per spec: If languageLength cannot be stored in 6 bit (languageLength > 63), throw a SyntaxError. But current implementation throws a TypeError, this CL fixs the error type. Bug: 520391 Change-Id: I6ff64d87b387a07fff926ada80e5ee5d73b716b7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1981199 Commit-Queue: Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> Reviewed-by:Leon Han <leon.han@intel.com> Reviewed-by:
Rijubrata Bhaumik <rijubrata.bhaumik@intel.com> Cr-Commit-Position: refs/heads/master@{#727414}
Showing
Please register or sign in to comment