Skip to content

Instantly share code, notes, and snippets.

@theit8514
Created December 8, 2015 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save theit8514/f11d1a6f96c3e5f17f0e to your computer and use it in GitHub Desktop.
Save theit8514/f11d1a6f96c3e5f17f0e to your computer and use it in GitHub Desktop.
X should parse Safari 6 error
Expected 3 to be 4. (1)
Expected undefined to equal Object({ url: '[native code]', func: '?', args: [ ], line: null, column: null }). (2)
X should parse Safari 7 error
Expected 2 to be 3. (1)
Expected Object({ url: 'http://path/to/file.js', func: 'foo', args: [ ], line: 52, column: 15, context: null }) to equal Object({ url: 'http://path/to/file.js', func: '?', args: [ ], line: 48, column: 22, context: null }). (2)
Expected Object({ url: 'http://path/to/file.js', func: 'bar', args: [ ], line: 108, column: 107, context: null }) to equal Object({ url: 'http://path/to/file.js', func: 'foo', args: [ ], line: 52, column: 15, context: null }). (3)
Expected undefined to equal Object({ url: 'http://path/to/file.js', func: 'bar', args: [ ], line: 108, column: 107, context: null }). (4)
X should parse Safari 8 error
Expected 2 to be 3. (1)
Expected Object({ url: 'http://path/to/file.js', func: 'foo', args: [ ], line: 52, column: 15, context: null }) to equal Object({ url: 'http://path/to/file.js', func: '?', args: [ ], line: 47, column: 22, context: null }). (2)
Expected Object({ url: 'http://path/to/file.js', func: 'bar', args: [ ], line: 108, column: 23, context: null }) to equal Object({ url: 'http://path/to/file.js', func: 'foo', args: [ ], line: 52, column: 15, context: null }). (3)
Expected undefined to equal Object({ url: 'http://path/to/file.js', func: 'bar', args: [ ], line: 108, column: 23, context: null }). (4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment