We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a4dd47 commit 1d281d4Copy full SHA for 1d281d4
lib/PuppeteerSharp/Bidi/BidiPage.cs
@@ -171,7 +171,7 @@ public override async Task<IResponse> ReloadAsync(NavigationOptions options)
171
// to hang indefinitely. Work around this by temporarily disabling interception,
172
// performing the reload, and re-enabling interception.
173
// See: https://bugzilla.mozilla.org/show_bug.cgi?id=1879948
174
- var isFirefox = BidiBrowser.BrowserName.IndexOf("Firefox", StringComparison.OrdinalIgnoreCase) >= 0;
+ var isFirefox = BidiBrowser.BrowserName.Contains("Firefox", StringComparison.OrdinalIgnoreCase);
175
var hadInterception = IsNetworkInterceptionEnabled;
176
177
if (hadInterception && isFirefox)
0 commit comments