Closed
Bug 1921118
Opened 1 year ago
Closed 1 year ago
Send a connection packet from the frontend to communicate information about the frontend
Categories
(DevTools :: Framework, enhancement)
DevTools
Framework
Tracking
(firefox133 fixed)
RESOLVED
FIXED
133 Branch
| Tracking | Status | |
|---|---|---|
| firefox133 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
Details
Attachments
(1 file)
For now, only the server emits a packet on connection with info about the server, like applicationTraits.
But the frontend doesn't emit anything to the server about itself.
Servo is using the DevTools frontend and would like to support many frontend versions by delivering different actors.
But for that, it should receive some info about the frontend version.
The suggested connect method call on the Root actor would emit a packet like this:
{
"type": "connect",
"firefoxVersion": "132.0a1",
"to": "root"
}
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•1 year ago
|
||
I made a small change to the final packet and should look like this:
{
"type": "connect",
"frontendVersion": "133.0a1",
"to": "root"
}
Pushed by apoirot@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5d1f1a82bd0e
[devtools] Introduce a connect method on the root actor to communicate the frontend version to the backend. r=devtools-reviewers,devtools-backward-compat-reviewers,jdescottes
Comment 5•1 year ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
status-firefox133:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 133 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•