Closed Bug 1770792 Opened 2 years ago Closed 2 years ago

Add webdriver tests for "script.evaluate' for serialization of complex objects with simple value field

Categories

(Remote Protocol :: WebDriver BiDi, task, P1)

task
Points:
2

Tracking

(firefox104 fixed)

RESOLVED FIXED
104 Branch
Tracking Status
firefox104 --- fixed

People

(Reporter: whimboo, Assigned: Sasha)

References

Details

(Whiteboard: [webdriver:m4])

Attachments

(2 obsolete files)

This bug covers the addition of WebDriver tests for script.evaluate for serializing complex objects with simple value fields. It requires bug 1770752 to be fixed first.

Depends on: 1770476
Summary: Add webdriver tests for "script.evaluate' for serialization of complex objects with simple value fields → Add webdriver tests for "script.evaluate' for serialization of complex objects with simple value field
Points: --- → 2
Assignee: nobody → aborovova
Status: NEW → ASSIGNED

Comment on attachment 9283341 [details]
Bug 1770792 - [wdspec] Format script.evaluate tests.

Revision D150534 was moved to bug 1775270. Setting attachment 9283341 [details] to obsolete.

Attachment #9283341 - Attachment is obsolete: true

Comment on attachment 9283342 [details]
Bug 1770792 - [wdspec] Add webdriver tests for script.evaluate for serialization of primitive/simple values.

Revision D150535 was moved to bug 1775270. Setting attachment 9283342 [details] to obsolete.

Attachment #9283342 - Attachment is obsolete: true
Assignee: aborovova → nobody
Status: ASSIGNED → NEW

Maxim notified me that there are already some tests in their repository which we could use as a reference: https://github.com/GoogleChromeLabs/chromium-bidi/blob/main/tests/test_serialization.py

Assignee: nobody → aborovova
Status: NEW → ASSIGNED
Depends on: 1777978

Everything seems to have been done here. Closing as fixed.

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch

We should include the enhancements for Javascript Object serialization into our release notes but do not want to mention the script.evaluate command given that it is still experimental.

Whiteboard: [webdriver:m4] → [webdriver:m4][webdriver:relnote]

(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #7)

We should include the enhancements for Javascript Object serialization into our release notes but do not want to mention the script.evaluate command given that it is still experimental.

I was looking at what to include in release notes. In 104, the only implementation changes which landed for the Serialization are:

The first one is not really exposed to users, and the second one is really an edge case. Otherwise we added tests, but the main implementation changes landed in 103 (we mentioned them in the release notes last time, for what it's worth). I'll think a bit more about it, but I might not mention serialization changes in the release notes.

I checked myself and you are right. Lets remove the relnote whiteboard entry given that nothing needs to be included for serialization. Thanks for checking!

Whiteboard: [webdriver:m4][webdriver:relnote] → [webdriver:m4]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: