-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Devtools device description: improve how Servo is advertised in Firefox's about:debugging (fixes #27528) #32227
Conversation
🔨 Triggering try run (#8955174180) for Linux WPT |
Test results for linux-wpt-layout-2013 from try job (#8955174180): Flaky unexpected result (19)
Stable unexpected results that are known to be intermittent (16)
Stable unexpected results (19)
|
Test results for linux-wpt-layout-2020 from try job (#8955174180): Flaky unexpected result (13)
Stable unexpected results that are known to be intermittent (16)
Stable unexpected results (19)
|
|
…r the display name and version of the server When connecting to Servo from Firefox (about:debugging), it will display "Servo (71.0)" instead of "{$name} (${version})".
…xpects to compare versions for compatibility (_compareVersionCompatibility function)
…remove the incompatibility warning in Firefox's about:debugging
…e corresponding Servo preference names
…t a confusing warning in about:debugging if the build ID is newer than that of Firefox (likely)
…le version number
3fa4774
to
b1af490
Compare
If we are changing platform version, does that mean that debugging with newer ff works now? Last time I used it I needed firefox 78, to make it work. |
I think we will need additional work to make debugging work with latest FF. |
@oSoMoN Thank you for the contribution! |
Then maybe we shouldn't change platform version. |
Sorry, I'm not familiar with this part of the code base. I assumed this would be the first among multiple patches to get dev tools working i.e we need to update the |
As commented in #29831 I had a bit more support done in fabricedesre@0c41bf4 Feel free to steal, and the major part left is to implement the watcher protocol. |
Thanks for the prompt review and for merging!
Note that the case of the |
I'm interested in working on this, I'll claim the issue and will get to work. Thanks for the pointer Fabrice! |
I was only worried that firefox 78.15.0 ESR that would stopped working if this was changed, but it still works so it's all good. We do not want to have no FF version working. |
This change does several things to improve how Servo is advertised in Firefox's about:debugging page
./mach build -d
does not report any errors./mach test-tidy
does not report any errorsThere are no tests for these changes because the devtools components currently doesn't have any tests, and adding some seems like a project of its own, out of the scope of these fixes (but I might be interested in looking into adding some, if deemed relevant).
This is how the Firefox UI looks like before this patch:
And after this patch: