Provide JSON serialisation and deserialization of Window and Frame
Categories
(Remote Protocol :: Marionette, defect, P1)
Tracking
(firefox121 fixed)
| Tracking | Status | |
|---|---|---|
| firefox121 | --- | fixed |
People
(Reporter: ato, Assigned: whimboo)
References
(Blocks 1 open bug)
Details
(Whiteboard: [webdriver:m9][wptsync upstream][webdriver:relnote])
Attachments
(3 files, 4 obsolete files)
| Reporter | ||
Updated•9 years ago
|
| Reporter | ||
Updated•8 years ago
|
| Assignee | ||
Comment 1•7 years ago
|
||
| Assignee | ||
Comment 2•7 years ago
|
||
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 6•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 7•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 8•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
| Assignee | ||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
| Assignee | ||
Comment 12•7 years ago
|
||
| Assignee | ||
Comment 13•7 years ago
|
||
| Assignee | ||
Comment 14•7 years ago
|
||
Comment 15•7 years ago
|
||
Comment 16•7 years ago
|
||
| Assignee | ||
Comment 17•7 years ago
|
||
| Assignee | ||
Comment 18•7 years ago
|
||
| Assignee | ||
Comment 19•6 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•3 years ago
|
| Assignee | ||
Comment 21•3 years ago
|
||
Actually we also fail to serialize plain objects like when returning a document correctly.
| Assignee | ||
Comment 22•3 years ago
|
||
General JS objects are actually different and is handled on bug 1794078.
| Assignee | ||
Comment 23•3 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•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Updated•3 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•2 years ago
|
| Assignee | ||
Comment 26•2 years 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.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 27•2 years ago
|
||
(In reply to Henrik Skupin [:whimboo][⌚️UTC+2] from comment #26)
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.
It's merged now. So I'll work on this next.
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 28•2 years ago
|
||
| Assignee | ||
Comment 29•2 years ago
|
||
Depends on D191434
| Assignee | ||
Comment 30•2 years ago
|
||
Depends on D191435
Comment 31•2 years ago
|
||
Updated•2 years ago
|
Comment 34•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/92a611eda6b1
https://hg.mozilla.org/mozilla-central/rev/7c8760c20a62
https://hg.mozilla.org/mozilla-central/rev/bcdbc81d4adf
| Assignee | ||
Updated•2 years ago
|
Description
•