Skip to content

Commit 1d281d4

Browse files
committed
fix build
1 parent 2a4dd47 commit 1d281d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/PuppeteerSharp/Bidi/BidiPage.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ public override async Task<IResponse> ReloadAsync(NavigationOptions options)
171171
// to hang indefinitely. Work around this by temporarily disabling interception,
172172
// performing the reload, and re-enabling interception.
173173
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1879948
174-
var isFirefox = BidiBrowser.BrowserName.IndexOf("Firefox", StringComparison.OrdinalIgnoreCase) >= 0;
174+
var isFirefox = BidiBrowser.BrowserName.Contains("Firefox", StringComparison.OrdinalIgnoreCase);
175175
var hadInterception = IsNetworkInterceptionEnabled;
176176

177177
if (hadInterception && isFirefox)

0 commit comments

Comments
 (0)