Currently, Test262Error does not have this.name. So `--exception=Test262Error` does not work.
https://github.com/tc39/test262/pull/730
Maybe, performing instanceof is better.
Created attachment 284802 [details] Patch
Comment on attachment 284802 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=284802&action=review > Source/JavaScriptCore/jsc.cpp:2055 > + bool isInstanceOfExpectedException = jsCast<JSObject*>(exceptionClass)->hasInstance(exec, exception); Need to export JSObject::hasInstance to avoid the compilation error.
Comment on attachment 284802 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=284802&action=review Thanks >> Source/JavaScriptCore/jsc.cpp:2055 >> + bool isInstanceOfExpectedException = jsCast<JSObject*>(exceptionClass)->hasInstance(exec, exception); > > Need to export JSObject::hasInstance to avoid the compilation error. Oops, I'll add JS_EXPORT_PRIVATE.
Created attachment 284852 [details] Patch
ping? :)
Comment on attachment 284852 [details] Patch Thanks :)
Comment on attachment 284852 [details] Patch Clearing flags on attachment: 284852 Committed r203957: <http://trac.webkit.org/changeset/203957>
All reviewed patches have been landed. Closing bug.