1. 08 Dec, 2021 1 commit
  2. 07 Dec, 2021 1 commit
  3. 24 Nov, 2021 1 commit
  4. 22 Nov, 2021 1 commit
  5. 09 Nov, 2021 1 commit
  6. 23 Jul, 2021 1 commit
    • Vicky Kontoura's avatar
      [web snapshot] Support classes · 8439314d
      Vicky Kontoura authored
      This CL adds support for classes with methods.
      
      More specifically:
      - A new ValueSerializer is added and classes are serialized separetely
      from functions, although the common parts are handled in the same way
      and abstracted away.
      - The function prototype is serialized as an object and any missing
      information is set up again during deserialization.
      - FunctionFlagsToFunctionKinds() is updated to allow for more function
      kinds.
      - Context serialization is updated to support serializing BlockContexts
      and creating ScopeInfos of type CLASS_SCOPE.
      - Map serialization is updated to support properties with custom
      attributes.
      
      Bug: v8:11525, v8:11706
      Change-Id: I16ca7cbc17b1811721081cda05124ce36073f9be
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3006416
      Commit-Queue: Vicky Kontoura <vkont@google.com>
      Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#75893}
      8439314d
  7. 12 Jun, 2021 1 commit
  8. 10 Jun, 2021 1 commit
  9. 08 Jun, 2021 2 commits
  10. 01 Jun, 2021 2 commits
  11. 31 May, 2021 1 commit
  12. 27 May, 2021 1 commit
  13. 26 May, 2021 1 commit
    • Vicky Kontoura's avatar
      [web snapshot] Support mjsunit tests · c32ba7e0
      Vicky Kontoura authored
      This CL adds support for testing web snapshots through mjsunit tests.
      To allow for taking and using web snapshots from JavaScript, two
      methods, Realm.takeWebSnapshot() and Realm.useWebSnapshot(), are
      introduced in d8.
      
      Both of these methods accept a Realm as a parameter, allowing for
      mjsunit tests to create and use the snapshot in different realms.
      
      To return the snapshot data, Realm.takeWebSnapshot() creates and
      returns a snapshot object with the snapshot data stored as an embedder
      field.
      
      Bug: v8:11525, v8:11706
      Change-Id: I6e514e10eabf5bdb96d81e2697d4ddc49d92de73
      Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2905610Reviewed-by: 's avatarCamillo Bruni <cbruni@chromium.org>
      Reviewed-by: 's avatarMarja Hölttä <marja@chromium.org>
      Commit-Queue: Vicky Kontoura <vkont@google.com>
      Cr-Commit-Position: refs/heads/master@{#74783}
      c32ba7e0