1. implement ObjectDefineOwnPropertyOperation

2. Add errorcode in ScriptError
3. Fix array length bug
4. Fix ObjectPropertyDescriptor::ObjectPropertyDescriptor(ExecutionState& state, Object* obj)

Signed-off-by: seonghyun kim <sh8281.kim@samsung.com>
This commit is contained in:
seonghyun kim 2016-12-23 22:21:22 +09:00
commit 5bca24da82
18 changed files with 244 additions and 125 deletions

View file

@ -162,6 +162,7 @@ ScriptParser::ScriptParserResult ScriptParser::parse(StringView scriptSource, St
error->lineNumber = orgError->lineNumber;
error->message = orgError->message;
error->name = orgError->name;
error->errorCode = orgError->errorCode;
}
ScriptParser::ScriptParserResult result(script, error);