Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Internal change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 508767919
Change-Id: I392b66948edfc8e79998c629f2e80123acab5638
  • Loading branch information
Closure Team authored and Copybara-Service committed Feb 10, 2023
1 parent 9251751 commit 51688d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion closure/goog/conformance_proto.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ requirement: {
type: CUSTOM
java_class: "com.google.javascript.jscomp.ConformanceRules$BanThrowOfNonErrorTypes"
error_message: "Only Error or Error subclass objects may be thrown. See https://google.github.io/closure-library/develop/conformance_rules.html#throwOfNonErrorTypes"

# TODO(user): Violation occurs in code generated by Emscripten.
allowlist: "java/com/google/apps/framework/modulesets/wasm/demo/ui/"
allowlist_regexp: ".+/closure/goog/storage/" # throws numbers as part of its api
allowlist_regexp: ".+/closure/goog/testing/mock.js" # throws Object in $recordAndThrow
}
Expand Down

0 comments on commit 51688d9

Please sign in to comment.