Chromium Code Reviews
Description[Telemetry] Validate args in js_template rendering
Check that all arguments passed to the template rendering are actually
used, thus helping to catch misspellings. A TypeError is raised for any
unexpected arguments not used in the template.
Additionally, the `timeout` and `context_id` arguments on JS evaluate
APIs are no longer passed down to template rendering. Trying to use
these keywords in the template will now raise a KeyError.
BUG=catapult:#3028
Review-Url: https://codereview.chromium.org/2671693002
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/a28b8398067e93f8f49fe422436459c13b6d7a34
Patch Set 1 #Patch Set 2 : fix old api #
Total comments: 2
Messages
Total messages: 16 (10 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||