Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #22676

Closed
Open
Opened Jun 20, 2017 by Arlo Breault@arlo

Check if key exists before fetching pref

User reported error on irc,

ERROR (@ prpl-irc: ircHandlers._handleMessage re[//modules/ircHandlers.jsm:188)](//modules/ircHandlers.jsm:188))
Error running command sasl with handler SASL CAP:
{"rawMessage":":lechuck.hackint.org CAP * LS :account-notify away-notify cap-notify chghost extended-join multi-prefix sasl tls userhost-in-names","command":"CAP","params":["*","LS","account-notify away-notify cap-notify chghost extended-join multi-prefix sasl tls userhost-in-names"],"origin":"lechuck.hackint.org","tags":{},"source":"","cap":{"subcommand":"LS","parameter":"sasl","disable":false,"sticky":false,"ack":false}
Component returned failure code: 0x8000ffff (NS_ERROR_UNEXPECTED) [nsIPrefBranch.getCharPref]

https://developer.mozilla.org/en-US/Add-ons/Code_snippets/Preferences#check_For_Existence

Probably from,

let ecdsa = this.imAccount.wrappedJSObject.prefBranch.getCharPref("ecdsa");

in ircSASL.jsm

To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#22676