Brave-browser: Extension name missing for IPFS

Created on 30 Mar 2019  路  11Comments  路  Source: brave/brave-browser

Description


Extension name missing for IPFS

Actual result:


Screenshot from 2019-03-30 09-54-27

Expected result:

Should show extension name

Reproduces how often:


Easy

Brave version (brave://version info)

Brave | 0.65.2 Chromium: 73.0.3683.75聽(Official Build)聽nightly(64-bit)
-- | --
Revision | 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS | Linux

Brave | 0.64.29 Chromium: 73.0.3683.75聽(Official Build)聽dev(64-bit)
-- | --
Revision | 909ee014fcea6828f9a610e6716145bc0b3ebf4a-refs/branch-heads/3683@{#803}
OS | Linux

Reproducible on current release:

  • Does it reproduce on brave-browser dev/beta builds?
    Yes on nightly and dev

    Website problems only:

  • Does the issue resolve itself when disabling Brave Shields?
    N/A

  • Is the issue reproducible on the latest version of Chrome?
    N/A

    Additional Information


cc: @bbondy

QA Pass-Linux QA Pass-Win64 QA Pass-macOS QYes featurextensions featuripfs release-noteexclude

Most helpful comment

Hi, IIUC "name": "__MSG_manifest_extensionName__" should just work.
(In Chrome and Firefox it is replaced at runtime by translation from add-on/_locales/en/messages.json)

All 11 comments

is that just the same as the same IPFS companion installed on Chrome?

@bbondy Yes its the same

cc @lidel

This is on Chrome btw
Screenshot from 2019-04-02 11-18-40

Sorry I think this is probably an error with the way we're installing it. cc @yrliou

Hi, IIUC "name": "__MSG_manifest_extensionName__" should just work.
(In Chrome and Firefox it is replaced at runtime by translation from add-on/_locales/en/messages.json)

It is currently installed as a component extension, and there is a known bug in chromium that manifest is not localized for component extensions: https://bugs.chromium.org/p/chromium/issues/detail?id=66834&q=%22component%20extension%22&colspec=ID%20Pri%20M%20Stars%20ReleaseBlock%20Component%20Status%20Owner%20Summary%20OS%20Modified.

@yrliou thank you for finding this, it is unfortunate.

I know Brave will need to patch manifest to add sockets (cc @bbondy), would it be possible to also override extensionName and hardcode it to be IPFS Companion while at it?

(We'd like to avoid hardcoding extensionName to IPFS Companion in our manifest, but that is always a fallback plan)

@lidel I'm currently working on installing it as an extension instead of a component extension, hopefully that would get us back into a good state.
And yes, we could fallback to manually overriding extension name in the manifest if the above doesn't work as well as we expected.

Reproduced on

Brave | 0.64.60 Chromium: 74.0.3729.91聽(Official Build)聽beta聽(64-bit)
-- | --
Revision | 03844ed83e02b8add3f4b9cb859a7108d55b2e4d-refs/branch-heads/3729@{#860}
OS | Windows聽10 OS Build 17134.523

image

Verification passed on

Brave | 0.64.68 Chromium: 74.0.3729.108聽(Official Build)聽beta聽(64-bit)
-- | --
Revision | daaff52abef89988bf2a26091062160b1482b108-refs/branch-heads/3729@{#901}
OS | Windows聽10 OS Build 17134.523

Verification passed on

Brave | 0.64.68 Chromium: 74.0.3729.108 (Official Build) beta (64-bit)
-- | --
Revision | daaff52abef89988bf2a26091062160b1482b108-refs/branch-heads/3729@{#901}
OS | Linux

Verified passed with

Brave | 0.64.72 Chromium: 74.0.3729.131聽(Official Build)聽beta(64-bit)
-- | --
Revision | 518a41c1fa7ce1c8bb5e22346e82e42b4d76a96f-refs/branch-heads/3729@{#954}
OS | Mac OS X

Was this page helpful?
0 / 5 - 0 ratings