Bug 130995
| Summary: | Web Inspector: reftests should exercise round-trip encode/decode of recordings | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brian Burg <burg> |
| Component: | Web Inspector | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brian Burg
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
<rdar://problem/16480349>
Radar WebKit Bug Importer
<rdar://problem/16480403>
Blaze Burg
Closing web replay-related bugs until we resume working on the feature again.