Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Issue 1935703003: Layout Tests: Remove stringifyDOMObject() helper (Closed)

Created:
4 years, 7 months ago by jsbell
Modified:
4 years, 7 months ago
Reviewers:
Peter Beverloo
CC:
chromium-reviews, blink-reviews, Peter Beverloo, Marijn Kruisselbrink, Yuki
Base URL:
https://chromium.googlesource.com/chromium/src.git@test-idlattr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Layout 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 #

Messages

Total messages: 10 (5 generated)
jsbell
peter@ - please take a look?
4 years, 7 months ago (2016-04-29 19:43:25 UTC) #2
Peter Beverloo
lgtm, thank you!
4 years, 7 months ago (2016-05-03 12:54:11 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1935703003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1935703003/20001
4 years, 7 months ago (2016-05-03 14:49:22 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-03 16:19:13 UTC) #8
commit-bot: I haz the power
4 years, 7 months ago (2016-05-03 16:21:46 UTC) #10
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/1a5019c2282bbbd1a69c266c0e9b2e237caa234c
Cr-Commit-Position: refs/heads/master@{#391252}

Powered by Google App Engine
This is Rietveld 408576698