DescriptionLayout Tests: Remove stringifyDOMObject() helper
This generic helper has been historically problematic, since
subtleties such as inherited vs. own-properties, serialization of
nested DOM objects, changes to base types, etc. makes it fragile.
We've eliminated all but one use, so it's time to go.
The final use (in notifications tests) which used this helper plus
JSON.parse() to do a deep clone is replaced by a dedicated cloning
function capturing the specific semantics needed for the test.
R=peter@chromium.org
BUG=467366
Committed: https://crrev.com/1a5019c2282bbbd1a69c266c0e9b2e237caa234c
Cr-Commit-Position: refs/heads/master@{#391252}
Patch Set 1 #Patch Set 2 : Update expectation for test w/ line # change #
Depends on Patchset: Messages
Total messages: 10 (5 generated)
|