Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Contribute to GitLab
  • Sign in / Register
V
V8
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Linshizhi
  • V8
  • Repository

Switch branch/tag
  • v8
  • test
  • mjsunit
  • regress
  • regress-4640.js
Find file
BlameHistoryPermalink
  • littledan's avatar
    Fix 'illegal access' in Date constructor edge case · a9c79100
    littledan authored Dec 30, 2015
    In a rare edge case, a difference in checks between C++ and
    JavaScript lead to an 'illegal access' being thrown by the Date
    constructor. This patch harmonizes the checks from both sides.
    It's possible that slightly larger dates could be permitted,
    as the ECMAScript 2015 specification indicates that +287396-10-12
    would be a permissible date in the note in
    http://tc39.github.io/ecma262/#sec-extended-years
    This patch does not revisit the limit, only clears up the
    inconsistency.
    
    BUG=v8:4640
    R=cbruni
    LOG=Y
    
    Review URL: https://codereview.chromium.org/1545883003
    
    Cr-Commit-Position: refs/heads/master@{#33068}
    a9c79100
regress-4640.js 900 Bytes
EditWeb IDE

Replace regress-4640.js

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.