Provide JSON serialisation and deserialization of Window and Frame
Categories
(Remote Protocol :: Marionette, defect, P1)
Tracking
(Not tracked)
People
(Reporter: ato, Assigned: whimboo)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m8])
Attachments
(2 files, 2 obsolete files)
Reporter | ||
Updated•9 years ago
|
Reporter | ||
Updated•7 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 6•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 9•6 years ago
|
||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
Assignee | ||
Comment 12•6 years ago
|
||
Assignee | ||
Comment 13•6 years ago
|
||
Assignee | ||
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
Comment 16•6 years ago
|
||
Assignee | ||
Comment 17•6 years ago
|
||
Assignee | ||
Comment 18•6 years ago
|
||
Assignee | ||
Comment 19•5 years ago
|
||
Currently I'm not working on this bug, also it's blocked by some other code, which has to land first.
Assignee | ||
Comment 20•3 years ago
|
||
This bug hasn't been updated for a while but could become important again for our WebDriver BiDi implementation.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 21•2 years ago
|
||
Actually we also fail to serialize plain objects like when returning a document
correctly.
Assignee | ||
Comment 22•2 years ago
|
||
General JS objects are actually different and is handled on bug 1794078.
Assignee | ||
Comment 23•2 years ago
|
||
While it seems to be much easier to do this nowadays I'll wait with the implementation until bug 1692468 has been done. This is mainly because it involves quite a bit of refactoring of the toJSON
and fromJSON
commands where by parts of that is done on the other bug.
Also it doesn't look like that we need bug 1491490. Without it we are able to serialize a window:
1665417978741 Marionette DEBUG 3 -> [0,2,"WebDriver:ExecuteScript",{"script":"return window","args":[],"newSandbox":true,"sandbox":"default","line":106,"filename":"_a/test_minimized.py"}]
1665417978745 Marionette TRACE [10] MarionetteCommands actor created for window id 4294967297
1665417982274 Marionette DEBUG 3 <- [1,2,null,{"value":{"window-fcc6-11e5-b4f8-330a88ab9d7f":"10"}}]
Updated•2 years ago
|
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 24•2 years ago
|
||
On bug 1822466 I'll add some intercepting code to the JSON cloning and deserialization algorithms that will help us with getting this feature added to Marionette.
Assignee | ||
Comment 25•2 years ago
|
||
I'm working on this bug and have a nearly complete implementation. Whereby while trying to add the deserialization steps I noticed that the current WebDriver classic specification doesn't have any definitions. So I've created a PR which is going to add them:
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 26•1 year ago
|
||
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #25)
Note that this is still blocked on this PR. Until it hasn't been merged I'm going to put the bug back to new.
Description
•