1. 12 Jul, 2016 1 commit
  2. 14 Mar, 2016 1 commit
    • littledan's avatar
      Make test262 test runner check for which exception is thrown · f3568ca4
      littledan authored
      test262 "negative" test expectations list which exception is thrown. The ES2017
      draft specification is very specific about which exception class is thrown
      from which path, and V8 works hard to be correct with respect to that spec.
      
      Previously, the test262 test runner would accept any nonzero status code,
      such as from a crash, or a FAIL printed out, for a negative test. This
      patch makes negative tests check for the right answer using a quick-and-dirty
      parsing of the exception printing from d8 to find the exception class.
      It invokes d8 in a way to get a status code of 0 from thrown exceptions
      so that 'negative' tests aren't actually implemented by negating the output.
      
      Amazingly, this didn't catch any test262 failures, but I verified the extra
      checking interactively by changing a negative test to expect a different type
      and saw it fail.
      
      BUG=v8:4803
      R=machenbach
      LOG=Y
      
      Review URL: https://codereview.chromium.org/1766503002
      
      Cr-Commit-Position: refs/heads/master@{#34763}
      f3568ca4
  3. 17 Sep, 2015 3 commits
  4. 22 Dec, 2014 1 commit
  5. 27 Jun, 2013 1 commit
  6. 26 Jun, 2013 1 commit
  7. 18 Apr, 2013 1 commit
  8. 18 Jan, 2013 1 commit
  9. 22 Oct, 2012 1 commit
  10. 24 Sep, 2012 1 commit
  11. 10 Aug, 2012 1 commit
  12. 26 Jul, 2011 1 commit
  13. 31 May, 2011 1 commit
    • rossberg@chromium.org's avatar
      Implement set trap for proxies, and revamp class hierarchy in preparation: · 670f947a
      rossberg@chromium.org authored
      - Introduce a class JSReceiver, that is a common superclass of JSObject and
        JSProxy. Use JSReceiver where appropriate (probably lots of places that we
        still have to migrate, but we will find those later with proxy test suite).
      
      - Move appropriate methods to JSReceiver class (SetProperty,
        GetPropertyAttribute, Get/SetPrototype, Lookup, and so on).
      
      - Introduce new JSFunctionProxy subclass of JSProxy. Currently only a stub.
      
      - Overhaul enum InstanceType:
        * Introduce FIRST/LAST_SPEC_OBJECT_TYPE that ranges over all types that
          represent JS objects, and use that consistently to check language types.
        * Rename FIRST/LAST_JS_OBJECT_TYPE and FIRST/LAST_FUNCTION_CLASS_TYPE
          to FIRST/LAST_[NON]CALLABLE_SPEC_OBJECT_TYPE for clarity.
        * Eliminate the overlap over JS_REGEXP_TYPE.
        * Also replace FIRST_JS_OBJECT with FIRST_JS_RECEIVER, but only use it where
          we exclusively talk about the internal representation type.
        * Insert JS_PROXY and JS_FUNCTION_PROXY in the appropriate places.
      
      - Fix all checks concerning classification, especially for functions, to
        use the CALLABLE_SPEC_OBJECT range (that includes funciton proxies).
      
      - Handle proxies in SetProperty (that was the easiest part :) ).
      
      - A few simple test cases.
      
      R=kmillikin@chromium.org
      
      Review URL: http://codereview.chromium.org/6992072
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@8126 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      670f947a
  14. 15 Apr, 2011 1 commit
  15. 12 Apr, 2011 2 commits
  16. 21 Mar, 2011 1 commit
  17. 18 Mar, 2011 3 commits
  18. 10 Jan, 2011 1 commit
    • ricow@chromium.org's avatar
      Enable sharding of individual testsuites in tools/test.py · b4ea8c7f
      ricow@chromium.org authored
      This patch enables two new flags for the tools/test.py script;
      --shard-count - giving the ability to split the tests to be run
      into shard-count chunks.
      --shard-run - giving the ability to specify which of the shards to actually run.
      
      Example
        tools/test.py -j15 --shard-count=2 --shard-run=1 mozilla
      would split the mozilla tests into two chunks and run the tests in the first chunk
      
      Running:
        tools/test.py -j15 --shard-count=2 --shard-run=1 mozilla
        tools/test.py -j15 --shard-count=2 --shard-run=2 mozilla
      is equivalent (in terms of test coverage) of just running:
        tools/test.py -j15 mozilla
      
      In addition, tests are now sorted before they are returned from the
      test specific ListTests methods (sputnik and mozilla tests where
      already sorted before they where returned).
      
      This change is needed to split a single test suite over two slaves on
      the waterfall.
      
      
      Review URL: http://codereview.chromium.org/6127003
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6248 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      b4ea8c7f
  19. 24 Aug, 2010 1 commit
  20. 14 Oct, 2009 1 commit
  21. 15 Sep, 2009 1 commit
  22. 02 Sep, 2009 1 commit
  23. 09 Jul, 2009 1 commit
  24. 07 Jul, 2009 2 commits
  25. 15 Apr, 2009 1 commit
  26. 09 Sep, 2008 1 commit
  27. 08 Sep, 2008 1 commit
  28. 28 Aug, 2008 1 commit
  29. 27 Aug, 2008 1 commit
  30. 22 Aug, 2008 1 commit
    • christian.plesner.hansen's avatar
      Included mjsunit JavaScript test suite and C++ unit tests. · c42f5829
      christian.plesner.hansen authored
      In the shell sample don't print the result of executing a script, only
      evaluating expressions.
      
      Fixed issue when building samples on Windows using a shared V8
      library.  Added visibility option on Linux build which makes the
      generated library 18% smaller.
      
      Changed build system to accept multiple build modes in one build and
      generate seperate objects, libraries and executables for each mode.
      
      Removed deferred negation optimization (a * -b => -(a * b)) since this
      visibly changes operand conversion order.
      
      Improved parsing performance by introducing stack guard in preparsing.
      Without a stack guard preparsing always bails out with stack overflow.
      
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@16 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      c42f5829