Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(155)

Issue 7551013: Make Nan, Infinity and undefined on global object not overwritable. (Closed)

Created:
9 years, 4 months ago by antonm
Modified:
9 years, 4 months ago
Reviewers:
danno
CC:
v8-dev
Visibility:
Public.

Description

Make Nan, Infinity and undefined on global object not overwritable. That is to match both ECMAScript-262 and Safari.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -4 lines) Patch
M src/v8natives.js View 1 chunk +3 lines, -3 lines 0 comments Download
A test/mjsunit/global-properties.js View 1 chunk +55 lines, -0 lines 0 comments Download
M test/mjsunit/undeletable-functions.js View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
antonm
This make v8 behave like Safari does. And even as ECMAScript-262 mandates :) Surprisingly, I ...
9 years, 4 months ago (2011-08-02 15:28:54 UTC) #1
danno
9 years, 4 months ago (2011-08-02 15:39:21 UTC) #2
This is already fixed in 8766. This change is a bit more tricky that it first
seems.

Powered by Google App Engine
This is Rietveld 408576698