Skip to content

Commit f936204

Browse files
committed
cleanup
1 parent 5c5289b commit f936204

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

src/recorder.ts

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,43 +1548,8 @@ class Recorder {
15481548
} else {
15491549
return null;
15501550
}
1551-
1552-
// const securityOrigin = new URL(url).origin;
1553-
// const storageId = {securityOrigin, isLocalStorage: true};
1554-
1555-
// const local = await this.send("DOMStorage.getDOMStorageItems", {storageId}, sessions);
1556-
// storageId.isLocalStorage = false;
1557-
1558-
// const session = await this.send("DOMStorage.getDOMStorageItems", {storageId}, sessions);
1559-
1560-
//return JSON.stringify({local: local.entries, session: session.entries});
15611551
}
15621552

1563-
// // @ts-expect-error - TS7006 - Parameter 'url' implicitly has an 'any' type.
1564-
// async getStorage(url) {
1565-
// // check if recording storage is allowed
1566-
// // @ts-expect-error - TS2339 - Property 'recordStorage' does not exist on type 'Recorder'.
1567-
// if (!this.recordStorage) {
1568-
// return null;
1569-
// }
1570-
1571-
// const securityOrigin = new URL(url).origin;
1572-
// const storageId = { securityOrigin, isLocalStorage: true };
1573-
1574-
// // @ts-expect-error - TS2345 - Argument of type '{ storageId: { securityOrigin: string; isLocalStorage: boolean; }; }' is not assignable to parameter of type 'null | undefined'.
1575-
// const local = await this.send("DOMStorage.getDOMStorageItems", {
1576-
// storageId,
1577-
// });
1578-
// storageId.isLocalStorage = false;
1579-
1580-
// // @ts-expect-error - TS2345 - Argument of type '{ storageId: { securityOrigin: string; isLocalStorage: boolean; }; }' is not assignable to parameter of type 'null | undefined'.
1581-
// const session = await this.send("DOMStorage.getDOMStorageItems", {
1582-
// storageId,
1583-
// });
1584-
1585-
// return JSON.stringify({ local: local.entries, session: session.entries });
1586-
// }
1587-
15881553
// @ts-expect-error - TS7006 - Parameter 'params' implicitly has an 'any' type.
15891554
async handleRequestWillBeSent(params) {
15901555
if (

0 commit comments

Comments
 (0)