Skip to content

Commit

Permalink
chore: remove stray fallback overrides check
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelfeldman committed Jun 14, 2022
1 parent 9cf068a commit 48f9867
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/playwright-core/src/client/network.ts
Expand Up @@ -159,7 +159,7 @@ export class Request extends ChannelOwner<channels.RequestChannel> implements ap
headers(): Headers {
if (this._fallbackOverrides.headers)
return RawHeaders._fromHeadersObjectLossy(this._fallbackOverrides.headers).headers();
return this._fallbackOverrides.headers || this._provisionalHeaders.headers();
return this._provisionalHeaders.headers();
}

_context() {
Expand Down

0 comments on commit 48f9867

Please sign in to comment.