1. 25 Nov, 2015 3 commits
  2. 24 Nov, 2015 1 commit
  3. 19 Nov, 2015 2 commits
  4. 13 Nov, 2015 1 commit
  5. 10 Nov, 2015 1 commit
  6. 05 Nov, 2015 3 commits
  7. 04 Nov, 2015 5 commits
  8. 03 Nov, 2015 2 commits
  9. 02 Nov, 2015 2 commits
  10. 29 Oct, 2015 1 commit
  11. 27 Oct, 2015 1 commit
  12. 26 Oct, 2015 4 commits
  13. 23 Oct, 2015 1 commit
  14. 22 Oct, 2015 1 commit
  15. 21 Oct, 2015 1 commit
  16. 20 Oct, 2015 1 commit
  17. 08 Oct, 2015 2 commits
  18. 07 Oct, 2015 2 commits
  19. 06 Oct, 2015 1 commit
  20. 05 Oct, 2015 3 commits
    • machenbach's avatar
      Revert of Reland: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2... · 369d1c5a
      machenbach authored
      Revert of Reland: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. (patchset #3 id:40001 of https://codereview.chromium.org/1384873002/ )
      
      Reason for revert:
      [Sheriff] Breaks the gcc 4.8 bot:
      http://build.chromium.org/p/client.v8/builders/V8%20Linux%20gcc%204.8/builds/3274
      
      Original issue's description:
      > Reland: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again.
      >
      > Without that, it has a few false positives about out-of-bounds array accesses.
      > Also makes the clang static-analyzer happy.
      >
      > Original code review from Sven Panne:
      > https://codereview.chromium.org/790723002/
      >
      > CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_arm_dbg,v8_linux_arm64_dbg,v8_mac64_dbg,v8_win_compile_dbg
      >
      > Committed: https://crrev.com/d068574e641e28f05dcde89ddc9a1d0ec6f6f308
      > Cr-Commit-Position: refs/heads/master@{#31105}
      
      TBR=jochen@chromium.org,bmeurer@chromium.org,karl@skomski.com
      NOPRESUBMIT=true
      NOTREECHECKS=true
      NOTRY=true
      
      Review URL: https://codereview.chromium.org/1376113005
      
      Cr-Commit-Position: refs/heads/master@{#31112}
      369d1c5a
    • julien.gilli's avatar
      Add SetAbortOnUncaughtExceptionCallback API · 1ee712ab
      julien.gilli authored
      The --abort-on-uncaught-exception command line switch makes
      Isolate::Throw abort if the error being thrown cannot be caught by a
      try/catch block.
      
      Embedders may want to use other mechanisms than try/catch blocks to
      handle uncaught exceptions. For instance, Node.js has "domain" objects
      that have error handlers that can handle uncaught exception like
      following:
      
      var d = domain.create();
      
      d.on('error', function onError(err) {
        console.log('Handling error');
      });
      
      d.run(function() {
        throw new Error("boom");
      });
      
      These error handlers are called by isolates' message listeners.
      
      If --abort-on-uncaught-exception is *not* used, the isolate's
      message listener will be called, which will in turn call the domain's
      error handler. The process will output 'Handling error' and will exit
      successfully (not due to an uncaught exception). This is the behavior
      that Node.js users expect.
      
      However, if --abort-on-uncaught-exception is used and when throwing an
      error within a domain that has an error handler, the process will abort
      and the domain's error handler will not be called. This is not the
      behavior that Node.js users expect.
      
      Having a SetAbortOnUncaughtExceptionCallback API allows embedders to
      determine when it's not appropriate to abort and instead handle the
      exception via the isolate's message listener.
      
      In the example above, Node.js would set a custom callback with
      SetAbortOnUncaughtExceptionCallback that would be implemented as
      following (the sample code has been simplified to remove what's not
      relevant to this change):
      
      bool ShouldAbortOnUncaughtException(Isolate* isolate) {
        return !IsDomainActive();
      }
      
      Now when --abort-on-uncaught-exception is used, Isolate::Throw would
      call that callback and determine that it should not abort if a domain
      with an error handler is active. Instead, the isolate's message listener
      would be called and the error would be handled by the domain's error
      handler.
      
      I believe this can also be useful for other embedders.
      
      BUG=
      
      R=bmeurer@chromium.org
      
      Review URL: https://codereview.chromium.org/1375933003
      
      Cr-Commit-Position: refs/heads/master@{#31111}
      1ee712ab
    • karl's avatar
      Reland: Introduce a V8_NORETURN macro and use it to make GCC 4.9.2 happy again. · d068574e
      karl authored
      Without that, it has a few false positives about out-of-bounds array accesses.
      Also makes the clang static-analyzer happy.
      
      Original code review from Sven Panne:
      https://codereview.chromium.org/790723002/
      
      CQ_INCLUDE_TRYBOTS=tryserver.v8:v8_linux_arm_dbg,v8_linux_arm64_dbg,v8_mac64_dbg,v8_win_compile_dbg
      
      Review URL: https://codereview.chromium.org/1384873002
      
      Cr-Commit-Position: refs/heads/master@{#31105}
      d068574e
  21. 03 Oct, 2015 1 commit
  22. 30 Sep, 2015 1 commit