We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 542ca40 + 794d6e2 commit f286a98Copy full SHA for f286a98
2 files changed
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "ff-test-bidi-har-export",
3
- "version": "0.0.16",
+ "version": "0.0.17",
4
"description": "Experimental helper to export HAR files from WebDriverBiDi network events",
5
"main": "index.js",
6
"scripts": {
src/har-recorder.js
@@ -225,6 +225,13 @@ class HarRecorder {
225
continue;
226
}
227
228
+ if (networkEntry.request.timings.requestTime == 0) {
229
+ this._log(
230
+ `Warning: Ignoring entry with invalid requestTime for url: ${networkEntry.url} (id: ${networkEntry.id})`,
231
+ );
232
+ continue;
233
+ }
234
+
235
const entry = this._toHAREntry(networkEntry);
236
for (const page of recording.log.pages) {
237
if (page.startedTime <= entry.startedTime) {
0 commit comments