Skip to content
Branch: master
Commits on May 2, 2019
Commits on Feb 21, 2019
Commits on Feb 15, 2019
  1. Merge pull request #24 from sherhut/master

    stephenfarrar committed Feb 15, 2019
    Adapt usage of v8 API to v7.0 release.
Commits on Feb 1, 2019
  1. Adapt usage of v8 API to v7.0 release.

    sherhut committed Feb 1, 2019
    With v7.0, many already deprecated APIs got finally removed,
    breaking compilation. These changes make gjstest compile
    against v8 7.0.
Commits on Sep 20, 2018
  1. Update comments.

    stephenfarrar authored and jacobsa committed Sep 20, 2018
  2. Keep error.stack a string.

    stephenfarrar authored and jacobsa committed Sep 19, 2018
    Capture the stack frames in error.structuredStack
Commits on Jul 18, 2018
  1. Fallback on EvalOrigin as a filename in gjstest stack traces.

    eschoeffler-google authored and jacobsa committed Jul 18, 2018
    In cases where a file is evaled, filenames are not undefined, but EvalOrigin provides the file from which the eval code came.
Commits on Jun 14, 2018
  1. Merge pull request #17 from trevorade/master

    jacobsa committed Jun 14, 2018
    Recommend GJSTest users use ES6 classes rather than a function with @constructor.
Commits on Jun 12, 2018
  1. Update register.js

    trevorade committed Jun 12, 2018
  2. Update mocks.golden.xml

    trevorade committed Jun 12, 2018
  3. Update mocks.golden.txt

    trevorade committed Jun 12, 2018
  4. Update exception.golden.xml

    trevorade committed Jun 12, 2018
  5. Update exception.golden.txt

    trevorade committed Jun 12, 2018
Commits on Mar 20, 2018
  1. Adjust code to the API changes in V8 6.5.

    ulan authored and jacobsa committed Mar 20, 2018
    V8 6.5 removed deprecated functions (see
    Changes that apply to gjstest:
    - TryCatch constructor requires an isolate.
    - Function::NewInstance returns MaybeLocal<>.
    - ScriptCompiler::CompileUnbound is renamed to CompileUnboundScript
      and returns a MaybeLocal<>.
    - Value::ToUint32 requires a context and returns a Maybe<>.
Commits on Mar 19, 2018
  1. Fix type checking in matcher_types.js.

    shicks authored and jacobsa committed Mar 19, 2018
    Adds explicit casts to clarify two cases where the type checker isn't quite sophisticated enough to infer the correct types.
    Background: Closure Compiler is trying to land a change to improve inference of qualified names.  An upshot of this is that it will soon understand that "this.getDescription" is supposed to be a `function(): string` (rather than just unknown as it does currently), which causes a type error when it tries to return a `string|function(): string` (note that the compiler does not currently propagate the flow-sensitive context that `description` is definitely a string from outside the closure to inside).
Commits on Aug 9, 2017
  1. v8_utils: remove an old hack.

    jacobsa committed Aug 9, 2017
    These days, at least when building with homebrew, the appropriate
    headers appear to be available.
Commits on Apr 19, 2017
  1. mock_instance.js: be compatible with ES6.

    jacobsa committed Apr 19, 2017
    Thanks to Mairin Chesney.
Commits on Apr 18, 2017
  1. - Added test that would fail using == 'Object' as a

    mchesneyatwork committed Apr 18, 2017
      check for base object, but passes now.
    - Added checks for expectations of enumerability of prototype properties
      with ES5 and ES6 syntax.
Commits on Apr 17, 2017
  1. Instead of using constructor name to check if the base object has been

    mchesneyatwork committed Apr 17, 2017
    reached, check if the parent object is null. Child objects may also have
    the constructor name 'Object'.
Commits on Apr 11, 2017
  1. - Move method that creates array of properties outside of createMockO…

    mchesneyatwork committed Apr 11, 2017
    - Add a few clarifying comments
Commits on Apr 10, 2017
Commits on Mar 21, 2017
  1. Qualify std::vector.

    jacobsa committed Mar 21, 2017
Commits on Nov 27, 2016
  1. Fixed test breakage for v8 5.4.449 (#13)

    inazz authored and jacobsa committed Nov 27, 2016
    See src/messages.h:334 on following patch for corresponding v8 change.
Commits on Jul 26, 2016
Commits on Mar 22, 2016
  1. Remove console.log statement.

    tjgq committed Mar 22, 2016
Commits on Jan 22, 2016
  1. Merge pull request #9 from LuminateWireless/stringpiece-fix

    jacobsa committed Jan 22, 2016
    Include <cstddef> as required by ptrdiff_t.
Commits on Oct 14, 2015
You can’t perform that action at this time.