Closed Bug 1599745 Opened 5 years ago Closed 4 years ago

Opening remote profiling panel throws some preference related errors on debuggee

Categories

(Core :: Gecko Profiler, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: canova, Assigned: canova)

References

Details

Attachments

(4 files)

Encountered this while I was testing another feature. Opening the remote profiling panel throws some errors.

STR:

  • Fire up a second Firefox with --start-debugger-server 1234.
  • Open about:debugging on the first Firefox and add locahost:1234 .
  • Open the performance panel by clicking "Profile Performance" button.
  • See the errors on browser console.

Console output:

console.error: "Error while calling actor 'preference's method 'getIntPref'" "preference is not of the right type: devtools.performance.recording.entries"
console.error: "ensurePrefType@resource://devtools/server/actors/preference.js:16:11\ngetIntPref@resource://devtools/server/actors/preference.js:44:19\nhandler@resource://devtools/shared/protocol/Actor.js:154:37\nonPacket@resource://devtools/server/debugger-server-connection.js:378:58\n_onJSONObjectReady/<@resource://devtools/shared/transport/transport.js:464:22\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\n"
console.error: "Error while calling actor 'preference's method 'getIntPref'" "preference is not of the right type: devtools.performance.recording.interval"
console.error: "ensurePrefType@resource://devtools/server/actors/preference.js:16:11\ngetIntPref@resource://devtools/server/actors/preference.js:44:19\nhandler@resource://devtools/shared/protocol/Actor.js:154:37\nonPacket@resource://devtools/server/debugger-server-connection.js:378:58\n_onJSONObjectReady/<@resource://devtools/shared/transport/transport.js:464:22\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\n"
console.error: "Error while calling actor 'preference's method 'getCharPref'" "preference is not of the right type: devtools.performance.recording.features"
console.error: "ensurePrefType@resource://devtools/server/actors/preference.js:16:11\ngetCharPref@resource://devtools/server/actors/preference.js:39:19\nhandler@resource://devtools/shared/protocol/Actor.js:154:37\nonPacket@resource://devtools/server/debugger-server-connection.js:378:58\n_onJSONObjectReady/<@resource://devtools/shared/transport/transport.js:464:22\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\n"
console.error: "Error while calling actor 'preference's method 'getCharPref'" "preference is not of the right type: devtools.performance.recording.threads"
console.error: "ensurePrefType@resource://devtools/server/actors/preference.js:16:11\ngetCharPref@resource://devtools/server/actors/preference.js:39:19\nhandler@resource://devtools/shared/protocol/Actor.js:154:37\nonPacket@resource://devtools/server/debugger-server-connection.js:378:58\n_onJSONObjectReady/<@resource://devtools/shared/transport/transport.js:464:22\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\nexports.makeInfallible/<@resource://devtools/shared/ThreadSafeDevToolsUtils.js:111:22\n"
Assignee: nobody → canaltinova
Status: NEW → ASSIGNED

This patch:

  • Removes the responsiveness feature from the default features since we don't
    have it anymore.
  • Adds "Renderer" thread to the default threads list. That is needed to capture
    screenshots with webrender.

Depends on D55103

Pushed by canaltinova@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/8eec098bba7e
Fix the profiler popup panel preference test. r=julienw
https://hg.mozilla.org/integration/autoland/rev/08aa2c9f03ec
Register all performance panel recording preferences and move their default values there. r=julienw
https://hg.mozilla.org/integration/autoland/rev/6ca132d40e7e
Use the constant pref variables inside the file instead of hardcoding them. r=julienw
https://hg.mozilla.org/integration/autoland/rev/5312121b8b32
Update default values of profiler recording preferences. r=julienw
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/2328b40f1537
Port bug 1599745 - Register all performance panel recording preferences and move their default values there. rs=bustage-fix DONTBUILD
Regressions: 1600294
Regressions: 1602800
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: