w3c / webdriver-bidi

Bidirectional WebDriver protocol for browser automation
https://w3c.github.io/webdriver-bidi/
351 stars 38 forks source link

Add serialization steps for iterators #533

Closed lutien closed 5 months ago

lutien commented 11 months ago

Preview | Diff

lutien commented 11 months ago

Thanks @lutien. Would you mind to also remove the listed issues?

Sure, removed

lutien commented 11 months ago

To unblock some of our work, I've moved serialization steps for generator and proxy into a separate PR. This PR is now only about serialization of iterators.

sadym-chromium commented 11 months ago

Moving the comment to the top level conversation:

I'm quite sceptical about calling an iterator any object with callable property next. I'd question if we have real-world scenarios, where iterators serialization is required, and if not - just consider it's an object.

lutien commented 5 months ago

This change is not required anymore, since the iterators shouldn't have special serialization steps after merge of #691