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    

Description Brian Burg 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.
Comment 1 Brian Burg 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.
Comment 2 Radar WebKit Bug Importer 2014-03-31 17:17:04 PDT
<rdar://problem/16480349>
Comment 3 Radar WebKit Bug Importer 2014-03-31 17:19:14 PDT
<rdar://problem/16480403>
Comment 4 BJ Burg 2017-07-10 14:01:31 PDT
Closing web replay-related bugs until we resume working on the feature again.