Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

console.log('error parsing json data'); #3

Open
alanclarke opened this issue Aug 6, 2013 · 0 comments
Open

console.log('error parsing json data'); #3

alanclarke opened this issue Aug 6, 2013 · 0 comments

Comments

@alanclarke
Copy link
Contributor

@fleon, @chinchang, what would be a good alternative to this?

issues:

  • we can't rely on console in earlier versions of ie, e.g. ie8.
  • some test suites, e.g. mocha with karma use postMessage - causing the test logs to be polluted with this error message whenever they post a string
  • more generally, it is difficult to encapsulate please in large hostile application environments from postMessages being sent and received elsewhere using other means

it may be a good idea to include a signature in requests to distinguish postMessages made using please?
at the very least i suggest we make this logging optional?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant