Fix presubmit error (a tab in v8natives.js)
Review URL: http://codereview.chromium.org/2132025 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@4709 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
fb58bc06c6
commit
0328e0cf3a
@ -557,7 +557,7 @@ function DefineOwnProperty(obj, p, desc, should_throw) {
|
||||
SameValue(desc.getSet(), current.getSet()))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
// Step 7
|
||||
if (desc.isConfigurable() || desc.isEnumerable() != current.isEnumerable())
|
||||
throw MakeTypeError("redefine_disallowed", ["defineProperty"]);
|
||||
|
Loading…
Reference in New Issue
Block a user