Closed Bug 1547697 Opened 6 years ago Closed 6 years ago

gecko profiler doesn't work in beta

Categories

(Thunderbird :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 1537626

People

(Reporter: wsmwk, Assigned: Fallen)

Details

Downloaded from https://raw.githubusercontent.com/devtools-html/Gecko-Profiler-Addon/master/gecko_profiler.xpi

Installed on beta (doesn't appear to work in release)

Profiler icon appears in Mail Toolbar, but Error console has

1556542120761 addons.webextension.geckoprofiler@mozilla.com WARN Loading extension 'geckoprofiler@mozilla.com': Reading manifest: Error processing permissions.0: Value "geckoProfiler" must either: must either [must either [be one of ["clipboardRead", "clipboardWrite", "geolocation", "idle", "notifications"], be one of ["accountsRead"], be one of ["addressBooks"], be one of ["menus.overrideContext"], be one of ["messagesMove", "messagesRead"], be one of ["activeTab", "tabs", "tabHide"], be one of ["browserSettings"], be one of ["cookies"], be one of ["downloads", "downloads.open"], be one of ["topSites"], be one of ["webNavigation"], or be one of ["webRequest", "webRequestBlocking"]], be one of ["alarms", "mozillaAddons", "storage", "unlimitedStorage"], be one of ["menus"], be one of ["pkcs11"], be one of ["contextualIdentities"], be one of ["dns"], be one of ["management"], be one of ["privacy"], be one of ["proxy"], be one of ["nativeMessaging"], be one of ["telemetry"], be one of ["theme"], or match the pattern /^experiments(.\w+)+$/], or must either [be one of ["<all_urls>"], must either [match the pattern /^(https?|wss?|file|ftp|*)://(*|*.[^/]+|[^/]+)/.$/, or match the pattern /^file:///.$/], or match the pattern /^resource://(*|*.[^/]+|[^/]+)/.*$|^about:/]
chromeModifierKeyMap is undefined ext-commands.js:286
1556542120800 addons.xpi WARN Exception running bootstrap method startup on geckoprofiler@mozilla.com: TypeError: chromeModifierKeyMap is undefined(chrome://messenger/content/parent/ext-commands.js:286:7) JS Stack trace: getModifiersAttribute/<@ext-commands.js:286:7
getModifiersAttribute@ext-commands.js:285:18
buildKeyFromShortcut@ext-commands.js:238:47
buildKey@ext-commands.js:190:27
registerKeysToDocument/<@ext-commands.js:166:39
registerKeysToDocument@ext-commands.js:157:14
registerKeys@ext-commands.js:77:12
register@ext-commands.js:87:10
TypeError: chromeModifierKeyMap is undefined ext-commands.js:286:7
TypeError: browser.geckoProfiler is undefined background.js:235:3

Hmm I wonder why our command tests are not catching this. ShortcutUtils looks new.

Assignee: nobody → philipp
Status: NEW → ASSIGNED

I've requested uplift in bug 1537626 which should fix this.

Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE

Thanks. I didn't realize it was only working in 68.

Status: RESOLVED → VERIFIED
Summary: gecko profiler doesn't work → gecko profiler doesn't work in beta
Version: Trunk → 67
You need to log in before you can comment on or make changes to this bug.