nashorn/src/jdk/nashorn/internal/objects/DataPropertyDescriptor.java
changeset 16226 0e4f37e6cc40
parent 16151 97c1e756ae1e
child 18328 ebd24057f163
equal deleted inserted replaced
16225:81d58c2b9fcf 16226:0e4f37e6cc40
   134         throw new UnsupportedOperationException("set setter");
   134         throw new UnsupportedOperationException("set setter");
   135     }
   135     }
   136 
   136 
   137     @Override
   137     @Override
   138     public PropertyDescriptor fillFrom(final ScriptObject sobj) {
   138     public PropertyDescriptor fillFrom(final ScriptObject sobj) {
   139         final boolean strict = getContext()._strict;
   139         final boolean strict = isStrictContext();
   140         if (sobj.has(CONFIGURABLE)) {
   140         if (sobj.has(CONFIGURABLE)) {
   141             this.configurable = JSType.toBoolean(sobj.get(CONFIGURABLE));
   141             this.configurable = JSType.toBoolean(sobj.get(CONFIGURABLE));
   142         } else {
   142         } else {
   143             delete(CONFIGURABLE, strict);
   143             delete(CONFIGURABLE, strict);
   144         }
   144         }