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-10908.js
Find file
BlameHistoryPermalink
  • Jakob Kummerow's avatar
    Fix Array.p.pop() for read-only length 0 · 9c55b1d6
    Jakob Kummerow authored Sep 30, 2020
    Array.prototype.pop() must throw a TypeError whenever the array's
    length is readonly; there is no exception to that when the length
    is 0. This patch moves the length==0 special case after the read-
    only length check in both fast paths (CSA and C++).
    
    Fixed: v8:10908
    Change-Id: I4a77439478cffeaf11022ff8beb78b0a907290d2
    Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2440576
    Auto-Submit: Jakob Kummerow <jkummerow@chromium.org>
    Commit-Queue: Toon Verwaest <verwaest@chromium.org>
    Reviewed-by: 's avatarToon Verwaest <verwaest@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#70233}
    9c55b1d6
regress-10908.js 635 Bytes
EditWeb IDE

Replace regress-10908.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.