Skip to content

Commit

Permalink
make responseEnd optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Skn0tt committed Sep 17, 2024
1 parent a7ea946 commit 3de1612
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/playwright-core/src/protocol/validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2122,7 +2122,7 @@ scheme.ResourceTiming = tObject({
connectEnd: tNumber,
requestStart: tNumber,
responseStart: tNumber,
responseEnd: tNumber,
responseEnd: tOptional(tNumber),
});
scheme.ResponseInitializer = tObject({
request: tChannel(['Request']),
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/src/channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3779,7 +3779,7 @@ export type ResourceTiming = {
connectEnd: number,
requestStart: number,
responseStart: number,
responseEnd: number,
responseEnd?: number,
};

// ----------- Response -----------
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/src/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2946,7 +2946,7 @@ ResourceTiming:
connectEnd: number
requestStart: number
responseStart: number
responseEnd: number
responseEnd: number?

Response:
type: interface
Expand Down

0 comments on commit 3de1612

Please sign in to comment.