Bug 139518

Summary: inspector-protocol/debugger/didSampleProbe-multiple-probes.html fails when repeated
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes
Priority: P2 Keywords: DoNotImportToRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

Description Joseph Pecoraro 2014-12-10 17:56:48 PST
* SUMMARY
This test fails when run multiple times, the sample ids seem to increase (5-8) instead of (1-4).

* STEPS TO REPRODUCE
shell> run-webkit-tests inspector-protocol/debugger/didSampleProbe-multiple-probes.html --repeat-each 2

* DIFF
 Received probe sample payload: {"type":"number","value":12,"description":"12"}
 PASS: Samples from different probe actions should have unique action identifiers.
 PASS: Samples from probe actions on the same breakpoint should have the same batch identifiers.
-PASS: SampleIds from a any probe are sequential and start counting from one.
+FAIL: SampleIds from a any probe are sequential and start counting from one.
+Sample 1: {"probeId":1,"batchId":3,"sampleId":5,"payload":{"type":"number","value":12,"description":"12"}}
+Sample 2: {"probeId":2,"batchId":3,"sampleId":6,"payload":{"type":"number","value":12,"description":"12"}}
+Sample 3: {"probeId":1,"batchId":4,"sampleId":7,"payload":{"type":"number","value":12,"description":"12"}}
+Sample 4: {"probeId":2,"batchId":4,"sampleId":8,"payload":{"type":"number","value":12,"description":"12"}}