Skip to content

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

@alanclarke

Description

@alanclarke

@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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions