DescriptionAdditional unit test for audit.js: failure cases and logging examples.
The unit test for audit.js only covers basic/successful cases.
This CL is to add another unit test that tests failure cases with the
expected text result.
In the course of refining the failure output message, some editorial
edits also have been made in audit.js.
BUG=672988
TEST=LayoutTests/webaudio/unit-tests/audit-failures.html
Committed: https://crrev.com/e373ad9f97f06bf8e44ead4ad51c0500bb98afee
Cr-Commit-Position: refs/heads/master@{#439681}
Patch Set 1 : Initial patch #Patch Set 2 : Adding expected result #
Total comments: 18
Patch Set 3 : Add another expected result #Patch Set 4 : Addressing feedback #Patch Set 5 : Addressing feedback 2 #Patch Set 6 : Simplify containValues() algorithm and error message #
Messages
Total messages: 21 (13 generated)
|