Skip to content
This repository has been archived by the owner on Feb 7, 2019. It is now read-only.

ReferenceError: reference to undefined property "error" #283

Closed
pdehaan opened this issue Nov 1, 2017 · 4 comments
Closed

ReferenceError: reference to undefined property "error" #283

pdehaan opened this issue Nov 1, 2017 · 4 comments

Comments

@pdehaan
Copy link
Contributor

pdehaan commented Nov 1, 2017

Running the latest code from master (1ec24a3) in Nightly and spotted this error in my console:

ReferenceError: reference to undefined property "error"
— via master-password-setup.js:74

https://github.com/mozilla-lockbox/lockbox-extension/blob/9f732e7161d011ac5111a75ed45b563e7fa5f23f/src/webextension/firstrun/components/master-password-setup.js#L74

@devinreams
Copy link
Contributor

@pdehaan To help narrow down when this was introduced, can you recall a point-in-time this wasn't happening? We could then use git-bisect to find the culprit.

Unless this immediately rings any bells for @jimporter or @linuxwolf.

@jimporter
Copy link
Contributor

Is this causing an actual problem, or is it just random error spew? We get lots of reference errors that I think are the result of babel doing various browser polyfills for the fancy syntax we use.

@devinreams devinreams added backlog We have looked at and understand the issue. Prioritized with alignment to product initiatives. and removed to do labels Nov 1, 2017
@pdehaan
Copy link
Contributor Author

pdehaan commented Nov 1, 2017

I don't recall when this was introduced. Not sure if I've been trolling through the dev console logs before now.
I also don't think it was breaking anything or causing any issues. But it was the only warning I spotted that wasn't coming from DevTools or babel/webpack.

Looks like it was introduced in c118f9e. I assume it only appears because there is no error prop in this.state when we destructure.

@devinreams
Copy link
Contributor

@pdehaan I ran through a fresh profile and don't see any stray errors. Are you seeing this still?

Either way, #209 will remove/replace the "master password". I'm closing this as stale and soon-to-be superseded but please feel free to re-open if you spot something we missed.

@ghost ghost removed the backlog We have looked at and understand the issue. Prioritized with alignment to product initiatives. label Nov 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants