1. 16 Oct, 2018 2 commits
  2. 15 Oct, 2018 1 commit
  3. 21 Sep, 2018 1 commit
  4. 09 Mar, 2017 1 commit
  5. 25 May, 2016 1 commit
  6. 20 May, 2016 1 commit
  7. 14 Dec, 2015 1 commit
    • neis's avatar
      [proxies] Support proxies in JSON.parse and JSON.stringify. · 1596b015
      neis authored
      This CL tries to correctly support the following:
      - stringifying a proxy,
      - stringifying with a proxy as replacer (callable or arraylike),
      - stringifying with a replacer that returns a proxy,
      - parsing with a callable proxy as reviver,
      - parsing with a reviver that inserts proxies into the object,
      - and whatever else you can imagine.
      
      This also fixes some bugs observable without proxies.
      
      BUG=v8:3139,v8:1543
      LOG=n
      
      Review URL: https://codereview.chromium.org/1515133002
      
      Cr-Commit-Position: refs/heads/master@{#32843}
      1596b015
  8. 10 Dec, 2015 1 commit
    • neis's avatar
      JSON.parse: properly deal with reviver result · a5380fe9
      neis authored
      When the reviver returns undefined, the property in question must be deleted
      even for arrays.  So far this only happened for non-array objects.
      
      Also change the property enumeration to be spec-conformant, which is observable when the reviver modifies its "this" object directly.  There are a few further issues that need to be addressed in a separate CL.
      
      R=yangguo@chromium.org
      BUG=
      
      Review URL: https://codereview.chromium.org/1506933003
      
      Cr-Commit-Position: refs/heads/master@{#32750}
      a5380fe9
  9. 20 Mar, 2013 1 commit
  10. 26 Feb, 2013 1 commit
    • mstarzinger@chromium.org's avatar
      Make __proto__ a foreign callback on Object.prototype. · ce1e10f5
      mstarzinger@chromium.org authored
      This moves the __proto__ property to Object.prototype and turns it into
      a callback property actually present in the descriptor array as opposed
      to a hack in the properties lookup. For now it still is a "magic" data
      property using foreign callbacks and not an accessor property visible to
      JavaScript.
      
      The second effect of this change is that JSON.parse() no longer treats
      the __proto__ property specially, it will be defined as any other data
      property. Note that object literals still have their special handling.
      
      R=rossberg@chromium.org
      BUG=v8:621,v8:1949,v8:2441
      TEST=mjsunit,cctest,test262
      
      Review URL: https://codereview.chromium.org/12212011
      
      git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@13728 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
      ce1e10f5
  11. 22 Oct, 2012 2 commits
  12. 19 Oct, 2012 1 commit
  13. 18 Oct, 2012 2 commits
  14. 30 May, 2011 1 commit
  15. 26 May, 2011 1 commit
  16. 08 Feb, 2011 1 commit
  17. 15 Dec, 2010 1 commit
  18. 06 Dec, 2010 1 commit
  19. 02 Sep, 2010 1 commit
  20. 13 Jul, 2010 1 commit
  21. 03 Feb, 2010 2 commits
  22. 01 Feb, 2010 1 commit
  23. 14 Jan, 2010 1 commit
  24. 13 Aug, 2009 1 commit
  25. 24 Apr, 2009 2 commits