Closed Bug 1623529 Opened 4 years ago Closed 4 years ago

Can't do Java profiling any more, checkbox doesn't stick

Categories

(DevTools :: Performance Tools (Profiler/Timeline), defect, P1)

defect

Tracking

(firefox-esr68 unaffected, firefox74 wontfix, firefox75 wontfix, firefox76 fixed)

RESOLVED FIXED
Firefox 76
Tracking Status
firefox-esr68 --- unaffected
firefox74 --- wontfix
firefox75 --- wontfix
firefox76 --- fixed

People

(Reporter: mstange, Assigned: gregtatum)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Steps to reproduce:

  1. Go to about:debugging and connect to Fenix on Android.
  2. Click the Profile performance button.
  3. Choose Settings -> Custom, and go to Edit Settings...
  4. Check the "Java" feature checkbox.
  5. Click Save settings and go back.

Expected results:
The Java feature should now be enabled.

Actual results:
The summary does not list the Java feature. Going back to edit setting shows the Java feature still unchecked.

The "host" Gecko doesn't support Java profiling. Are we ever asking the host for its supported profiler features? We shouldn't do that for remote profiling features.

Assignee: nobody → gtatum
Priority: -- → P1

The current Firefox release channel is 74, which means this old mitigation is no
longer needed. getSupportedFeatures is supported on all targets.

The feature should only be enabled if it's supported, e.g on
mobile phones.

Depends on D67526

about:profiling was failing to use the supported features of the target
and was instead only checking the locally supported features.

Depends on D67527

Attachment #9134479 - Attachment description: Bug 1623529 - Clean up PerfFront.getSupportedFeatures backwards FF 72 compatibility; r?mstange → Bug 1623529 - Clean up PerfFront.getSupportedFeatures backwards FF 72 compatibility; r?julienw
Attachment #9134480 - Attachment description: Bug 1623529 - Add "java" to the profiler presets by default; r?mstange → Bug 1623529 - Add "java" to the profiler presets by default; r?julienw
Attachment #9134481 - Attachment description: Bug 1623529 - Fix supported features used in the profiler; r?mstange → Bug 1623529 - Fix supported features used in the profiler; r?julienw
Pushed by gtatum@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/054d227f6c63
Clean up PerfFront.getSupportedFeatures backwards FF 72 compatibility; r=julienw
https://hg.mozilla.org/integration/autoland/rev/5eacb3c30029
Add "java" to the profiler presets by default; r=julienw
https://hg.mozilla.org/integration/autoland/rev/d44263e0b47b
Fix supported features used in the profiler; r=julienw
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 76

What bug caused this regression?

Flags: needinfo?(gtatum)

I think it was Bug 1597381

Flags: needinfo?(gtatum)
Regressed by: 1597381
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: