Closed Bug 1165658 Opened 10 years ago Closed 10 years ago

AMO is apparently flagging bootstrap.js for using Components

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: KWierso, Unassigned)

References

Details

Saw someone post in #jetpack today and no one was around to reply, so they posted to the AMO forums instead at https://forums.mozilla.org/viewtopic.php?f=27&t=25347 From the sounds of things, someone from the SDK team needs to update the AMO validator for whatever version of the SDK is being used via npm-installed jpm. Or maybe they're using a non-official release of the SDK, so this flagging is intentional and correct. I don't know. Filing this for now so someone actually on the SDK team can look into it.
This was how I updated it back in the day when I was in charge of SDK releases: https://wiki.mozilla.org/Jetpack/Release_Process#Update_AMO_Validator I think that'd still work?
Wes, thanks for opening this ticket. I'll add the relevant information here so it's all in one place. Obtained jpm 1.0.0 from npm yesterday. Ran "jpm xpi" to create a very simple plugin (source here: https://github.com/convissor/toggle-system-colors/blob/master/index.js). Upon uploading that xpi to the Mozilla add-ons site, the validator says: Warning: Access to the `Components` property is deprecated for security or other reasons. bootstrap.js 6 const { utils: Cu } = Components; 7 const rootURI = __SCRIPT_URI_SPEC__.replace("bootstrap.js", "");
Flags: needinfo?(jorge)
Flags: needinfo?(jorge) → needinfo?(kmaglione+bmo)
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(kmaglione+bmo)
Resolution: --- → DUPLICATE
Status: RESOLVED → REOPENED
Depends on: 1069570
Resolution: DUPLICATE → ---
Hey Kris, any idea if this is an issue?
Flags: needinfo?(kmaglione+bmo)
It's not a big deal. I'd prefer to have a checksum for this so there are no warnings, but the file is simple enough that it shouldn't cause any headaches for reviewers. And at the moment, I really do not want to manually add any more checksums while there's already a finished patch that completely solves this and many other problems.
Flags: needinfo?(kmaglione+bmo)
I think we can ignore this then, amo reviewers shouldn't be rejecting due to this right?
Flags: needinfo?(kmaglione+bmo)
They should not be rejecting for this, no. They should never be rejecting for that message.
Flags: needinfo?(kmaglione+bmo)
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.