• ager@chromium.org's avatar
    Change behavior of global declarations in the presence of setters. · 963472c5
    ager@chromium.org authored
    Call accessors in the global object prototype when initializing global
    variables. Function declarations are special cased for compatibility
    with Safari and setters are not called for them. If this special
    casing was not done webkit layout tests would fail.
    
    Make the declaration of global const variables in the presence of
    callbacks a redeclaration error.
    
    Handle const context slot declarations conflicting with a CALLBACK as
    a redeclaration error. That is, unless it is on a context extension
    object which is not a real object and therefore conceptually have no
    accessors in prototype chains. Accessors in prototype chains of
    context extension objects are explicitly ignored in SetProperty.
    
    Review URL: http://codereview.chromium.org/6534029
    
    git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@6846 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
    963472c5
Name
Last commit
Last update
benchmarks Loading commit data...
build Loading commit data...
include Loading commit data...
preparser Loading commit data...
samples Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
ChangeLog Loading commit data...
LICENSE Loading commit data...
LICENSE.strongtalk Loading commit data...
LICENSE.v8 Loading commit data...
LICENSE.valgrind Loading commit data...
SConstruct Loading commit data...