Skip to content

Commit

Permalink
feat(chrome)!: update the pinned browser version to 131.0.6724.0 (#2622)
Browse files Browse the repository at this point in the history
  • Loading branch information
browser-automation-bot and sadym-chromium authored Sep 18, 2024
1 parent 62b6867 commit ff9658a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .browser
Original file line number Diff line number Diff line change
@@ -1 +1 @@
chrome@130.0.6693.0
chrome@131.0.6724.0
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions src/bidiMapper/modules/script/Realm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand Down

0 comments on commit ff9658a

Please sign in to comment.