Bug 130995 - Web Inspector: reftests should exercise round-trip encode/decode of recordings
Summary: Web Inspector: reftests should exercise round-trip encode/decode of recordings
Status: RESOLVED LATER
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: WebReplay
  Show dependency treegraph
 
Reported: 2014-03-31 17:15 PDT by Brian Burg
Modified: 2017-07-10 14:01 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.