Skip to content

Support profiling from the toolbox in Thunderbird Release#5135

Merged
julienw merged 1 commit into
firefox-devtools:mainfrom
julienw:support-thunderbird-better
Sep 23, 2024
Merged

Support profiling from the toolbox in Thunderbird Release#5135
julienw merged 1 commit into
firefox-devtools:mainfrom
julienw:support-thunderbird-better

Conversation

@julienw

@julienw julienw commented Sep 23, 2024

Copy link
Copy Markdown
Contributor

Thunderbird Releases doesn't include the Firefox/ string in its userAgent, therefore we neeed to match Thunderbird/ as well.

See also the discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1920387.

Fixes #5134

I checked locally that Thunderbird was working properly after this change.

For reference here is how I tried it:

  1. Open the browser toolbox in Thunderbird.
  2. Open the browser toolbox for the browser toolbox (ctrl shift alt + i)
  3. type openLinkIn("about:config") in the console
  4. change the preference devtools.performance.recording.ui-base-url to point to the local development server

@julienw julienw requested a review from canova September 23, 2024 11:30

@canova canova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We were also checking for the version decimals plus a dot previously but I don't think that really makes a difference, right? Thanks for the fix!

@codecov

codecov Bot commented Sep 23, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.40%. Comparing base (7562508) to head (50edb18).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5135   +/-   ##
=======================================
  Coverage   88.40%   88.40%           
=======================================
  Files         305      305           
  Lines       27716    27716           
  Branches     7514     7515    +1     
=======================================
  Hits        24501    24501           
  Misses       2981     2981           
  Partials      234      234           
Flag Coverage Δ
88.40% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@julienw julienw changed the title Support profiling froma the toolbox in Thunderbird Release Support profiling from the toolbox in Thunderbird Release Sep 23, 2024
Thunderbird Releases doesn't include the Firefox/ string in its
userAgent, therefore we neeed to match Thunderbird/ as well.

See also the discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=1920387.
@julienw julienw force-pushed the support-thunderbird-better branch from 0dfd9c0 to 50edb18 Compare September 23, 2024 11:50
@julienw

julienw commented Sep 23, 2024

Copy link
Copy Markdown
Contributor Author

We were also checking for the version decimals plus a dot previously but I don't think that really makes a difference, right? Thanks for the fix!

yeah I thought this wasn't really useful so I simplified it!

@julienw julienw merged commit 5d53dcb into firefox-devtools:main Sep 23, 2024
@julienw julienw mentioned this pull request Sep 23, 2024
julienw added a commit that referenced this pull request Sep 23, 2024
[Julien Wajsberg] Two optimizations for the marker chart (#5121)
[Nazım Can Altınova] [Tab selector 5] Add a tab selector component and implement tab switching (#5093)
[Julien Wajsberg] Support profiling from the toolbox in Thunderbird Release (#5135)
[Richard Fine] Add a dedicated symbolication tool (#5123)
[Julien Wajsberg] Export a tool to extract gecko logs from a profile (#4973)

Shout-out to our localizers:
de: Michael Köhler
el: Jim Spentzos
en-CA: chutten
en-GB: Ian Neal
es-CL: ravmn
fr: Théo Chevalier
fy-NL: Fjoerfoks
ia: Melo46
it: Francesco Lodolo [:flod]
nl: Mark Heijl
pt-BR: Marcelo Ghelman
ru: Valery Ledovskoy
sv-SE: Andreas Pettersson
uk: Lobodzets
zh-CN: Olvcpr423
zh-TW: Pin-guang Chen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Thunderbird can no longer access the /from-browser page

2 participants