1. 27 Jan, 2017 2 commits
  2. 26 Jan, 2017 2 commits
  3. 28 Nov, 2016 1 commit
  4. 10 Nov, 2016 1 commit
  5. 20 Oct, 2016 1 commit
  6. 17 Oct, 2016 1 commit
    • marja's avatar
      Fix mjsunit oddities (new try). · e27ef0a6
      marja authored
      1) assertInstanceOf(o, Foo, Bar) used to produce this error message:
      
      Failure: expected <o> is not an instance of <Foo> but of < Bar>> found <undefined>
      
      Fixed:
      
      Failure: <o> is not an instance of <Foo> but of <Bar>
      
      2) assertDoesNotThrow("throw 1") used to produce this error message:
      
      Failure: expected <threw an exception: > found <1>
      
      Fixed:
      
      Failure: threw an exception: 1
      
      3) assertDoesNotThrow("...", SomeError) was not doing what you'd
      think it does, so removed the last parameter.
      
      BUG=
      
      Review-Url: https://codereview.chromium.org/2424743003
      Cr-Commit-Position: refs/heads/master@{#40347}
      e27ef0a6
  7. 15 Oct, 2016 1 commit
  8. 14 Oct, 2016 1 commit
  9. 12 Oct, 2016 1 commit
    • clemensh's avatar
      [wasm] Provide better stack traces for asm.js code · 5d9fa102
      clemensh authored
      For the asm.js to WASM pipeline, the current stack traces only show
      low-level WASM information.
      This CL maps this back to asm.js source positions.
      It does so by attaching the asm.js source Script to the compiled WASM
      module, and emitting a delta-encoded table which maps from WASM byte
      offsets to positions within that Script. As asm.js code does not throw
      exceptions, we only store a mapping for call instructions.
      
      The new AsmJsWasmStackFrame implementation inherits from
      WasmStackFrame, but contains the logic to provide the source script and
      the position inside of it.
      What is still missing is the JSFunction object returned by
      CallSite.getFunction(). We currently return null.
      
      R=jgruber@chromium.org, titzer@chromium.org
      BUG=v8:4203
      
      Review-Url: https://codereview.chromium.org/2404253002
      Cr-Commit-Position: refs/heads/master@{#40205}
      5d9fa102
  10. 21 Apr, 2016 1 commit
    • clemensh's avatar
      [wasm] Also test structured stack trace · 449af6f2
      clemensh authored
      This extends the wasm test case which only checks the "simple"
      string-variant of the stack trace.
      It checks the return values of the getFunctionName, getLineNumber,
      getFileName and toString methods.
      
      R=machenbach@chromium.org, jfb@chromium.org, titzer@chromium.org
      
      Review URL: https://codereview.chromium.org/1875153002
      
      Cr-Commit-Position: refs/heads/master@{#35687}
      449af6f2
  11. 20 Apr, 2016 2 commits
  12. 07 Jan, 2016 1 commit
    • neis's avatar
      [tests] Fix bogus uses of assertThrows. · 837900ef
      neis authored
      Some tests passed a string as second argument to assertThrows, expecting it to
      be matched against the exception.  However, assertThrows simply ignored these.
      (Some other tests actually seem to use that argument as a comment ...)
      
      This CL
      - changes assertThrows to fail if the second argument is not a function,
      - adds assertThrowsEquals which compares the exception to a given value using
        assertEquals
      - fixes some bogus tests that got exposed by this.
      
      R=jarin@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1544793002
      
      Cr-Commit-Position: refs/heads/master@{#33159}
      837900ef
  13. 19 Nov, 2015 1 commit
  14. 27 Oct, 2015 1 commit
  15. 09 Oct, 2015 1 commit
  16. 17 Feb, 2015 1 commit
  17. 14 Nov, 2014 1 commit
  18. 25 Jun, 2014 1 commit
  19. 10 Jun, 2014 1 commit
  20. 27 May, 2014 2 commits
  21. 22 Nov, 2013 1 commit
  22. 20 Nov, 2013 1 commit
  23. 22 Aug, 2013 1 commit
  24. 22 Jul, 2013 1 commit
  25. 28 Jun, 2012 1 commit
  26. 16 Apr, 2012 1 commit
  27. 08 Mar, 2012 1 commit
  28. 28 Oct, 2011 1 commit
  29. 15 Apr, 2011 1 commit
  30. 14 Apr, 2011 1 commit
  31. 25 Mar, 2011 1 commit
  32. 18 Feb, 2011 1 commit
  33. 14 May, 2010 1 commit
  34. 01 Feb, 2010 1 commit
  35. 05 Nov, 2009 1 commit
  36. 17 Aug, 2009 1 commit