Bug 130995

Summary: Web Inspector: reftests should exercise round-trip encode/decode of recordings
Product: WebKit Reporter: Brian Burg <burg>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: RESOLVED LATER    
Severity: Normal CC: graouts, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 136290    

Brian Burg
Reported 2014-03-31 17:15:08 PDT
We should add a new replay phase that serializes the recording to JSON, re-parses it into memory, then replays that recording as a second replay phase. Otherwise, it could be very hard to find bugs in the serialization code.
Attachments
Brian Burg
Comment 1 2014-03-31 17:16:43 PDT
Note that it's probably a lot of work to compare the in-memory representations of the original and deserialized recording. The original will likely contain some platform-specific stuff that is not necessary for deterministic execution. We really just care that playing the recording results in the same execution.
Radar WebKit Bug Importer
Comment 2 2014-03-31 17:17:04 PDT
Radar WebKit Bug Importer
Comment 3 2014-03-31 17:19:14 PDT
Blaze Burg
Comment 4 2017-07-10 14:01:31 PDT
Closing web replay-related bugs until we resume working on the feature again.
Note You need to log in before you can comment on or make changes to this bug.