test262: test262/test/built-ins/NativeErrors/EvalError/proto.js
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Apr 2017 03:12:08 +0000 (03:12 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 13 Apr 2017 03:12:08 +0000 (03:12 +0000)
commit7333ef63fc08feaa074c102cb9191a0d226acb0f
tree679a83bb637d44179f179f6fbc377589e787c274
parenta2ed8b9b9b6e9d5321a32715584cb2bef19837c9
test262: test262/test/built-ins/NativeErrors/EvalError/proto.js
https://bugs.webkit.org/show_bug.cgi?id=170668

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-04-12
Reviewed by Keith Miller.

JSTests:

* ChakraCore.yaml:
* ChakraCore/test/Lib/error.baseline-jsc: Added.
This test does not match the spec.

* test262.yaml:

Source/JavaScriptCore:

* runtime/JSGlobalObject.cpp:
(JSC::JSGlobalObject::init):
The [[Prototype]] of NativeError Constructor's should be the %Error%.
https://tc39.github.io/ecma262/#sec-properties-of-the-nativeerror-constructors

LayoutTests:

* ietestcenter/Javascript/15.2.3.2-2-12-expected.txt:
* ietestcenter/Javascript/15.2.3.2-2-13-expected.txt:
* ietestcenter/Javascript/15.2.3.2-2-14-expected.txt:
* ietestcenter/Javascript/15.2.3.2-2-15-expected.txt:
* ietestcenter/Javascript/15.2.3.2-2-16-expected.txt:
* ietestcenter/Javascript/15.2.3.2-2-17-expected.txt:
These tests are now out of date.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215312 268f45cc-cd09-0410-ab3c-d52691b4dbfc
13 files changed:
JSTests/ChakraCore.yaml
JSTests/ChakraCore/test/Lib/error.baseline-jsc [new file with mode: 0644]
JSTests/ChangeLog
JSTests/test262.yaml
LayoutTests/ChangeLog
LayoutTests/ietestcenter/Javascript/15.2.3.2-2-12-expected.txt
LayoutTests/ietestcenter/Javascript/15.2.3.2-2-13-expected.txt
LayoutTests/ietestcenter/Javascript/15.2.3.2-2-14-expected.txt
LayoutTests/ietestcenter/Javascript/15.2.3.2-2-15-expected.txt
LayoutTests/ietestcenter/Javascript/15.2.3.2-2-16-expected.txt
LayoutTests/ietestcenter/Javascript/15.2.3.2-2-17-expected.txt
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSGlobalObject.cpp