Skip to content
This repository has been archived by the owner on Sep 19, 2018. It is now read-only.

Commit

Permalink
Update assert_throws to support more errors defined in WebIDL.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ms2ger committed Dec 28, 2014
1 parent adb4d39 commit d1d0576
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion testharness.js
Expand Up @@ -1021,12 +1021,15 @@ policies and contribution forms [3].
InvalidNodeTypeError: 24,
DataCloneError: 25,

EncodingError: 0,
NotReadableError: 0,
UnknownError: 0,
ConstraintError: 0,
DataError: 0,
TransactionInactiveError: 0,
ReadOnlyError: 0,
VersionError: 0
VersionError: 0,
OperationError: 0,
};

if (!(name in name_code_map)) {
Expand Down

0 comments on commit d1d0576

Please sign in to comment.