diff --git a/.browser b/.browser index 5787457cf6..df2e470e38 100644 --- a/.browser +++ b/.browser @@ -1 +1 @@ -chrome@130.0.6693.0 \ No newline at end of file +chrome@131.0.6724.0 \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index af010d8fa8..74d4b9c619 100644 --- a/package-lock.json +++ b/package-lock.json @@ -36,7 +36,7 @@ "chai": "4.5.0", "chai-as-promised": "7.1.2", "debug": "4.3.7", - "devtools-protocol": "0.0.1349043", + "devtools-protocol": "0.0.1356270", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-typescript": "3.6.3", @@ -3029,9 +3029,9 @@ } }, "node_modules/devtools-protocol": { - "version": "0.0.1349043", - "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1349043.tgz", - "integrity": "sha512-z64LAn0JMRY3LlN67K4wiDbNjLOa/mA6OsFiqhyBNvPFXyN3pAWkRC+6KrFKUCB6I7SGsljrSZwetI2F1a1d+w==", + "version": "0.0.1356270", + "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1356270.tgz", + "integrity": "sha512-0Om4feoGtvlkDw52Mlf6kDpS5+e8sP/uZgRUMGZNOxvd4yBqQv/xup1TbGtH/kdHNGtNATZn8qv8jlP+NvWaNA==", "dev": true, "license": "BSD-3-Clause" }, diff --git a/package.json b/package.json index 71ea1f8c25..1b9d0f1fa2 100644 --- a/package.json +++ b/package.json @@ -182,7 +182,7 @@ "chai": "4.5.0", "chai-as-promised": "7.1.2", "debug": "4.3.7", - "devtools-protocol": "0.0.1349043", + "devtools-protocol": "0.0.1356270", "eslint": "8.57.0", "eslint-config-prettier": "9.1.0", "eslint-import-resolver-typescript": "3.6.3", diff --git a/src/bidiMapper/modules/script/Realm.ts b/src/bidiMapper/modules/script/Realm.ts index 95acf944ea..bbdf3c3183 100644 --- a/src/bidiMapper/modules/script/Realm.ts +++ b/src/bidiMapper/modules/script/Realm.ts @@ -118,6 +118,14 @@ export abstract class Realm { delete deepSerializedValue['weakLocalObjectReference']; } + if ( + (deepSerializedValue as any).type === 'node' && + Object.hasOwn(deepSerializedValue?.value, 'frameId') + ) { + // `frameId` is not needed in BiDi as it is not yet specified. + delete deepSerializedValue.value['frameId']; + } + // Platform object is a special case. It should have only `{type: object}` // without `value` field. if ((deepSerializedValue as any).type === 'platformobject') {