Proxy constructor should throw if handler is revoked Proxy
https://bugs.webkit.org/show_bug.cgi?id=198755
Patch by Alexey Shvayka <shvaikalesh@gmail.com> on 2019-08-19
Reviewed by Saam Barati.
JSTests:
* stress/proxy-revoke.js: Adjust error message.
* test262/expectations.yaml: Mark 2 test cases as passing.
Source/JavaScriptCore:
Reword error message and check if handler is revoked Proxy.
(step 4 of https://tc39.es/ecma262/#sec-proxycreate)
* runtime/ProxyObject.cpp:
(JSC::ProxyObject::finishCreation): Add isRevoked check.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@248880
268f45cc-cd09-0410-ab3c-
d52691b4dbfc