Changeset 214143 in webkit
- Timestamp:
- Mar 19, 2017 8:41:36 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r214069 r214143 1 2017-03-19 Yusuke Suzuki <utatane.tea@gmail.com> 2 3 import(arg) crashes when ToString(arg) throws 4 https://bugs.webkit.org/show_bug.cgi?id=169778 5 6 Reviewed by Saam Barati. 7 8 * stress/import-reject-with-exception.js: Added. 9 (shouldBe): 10 (let.x.get toString): 11 1 12 2017-03-16 Filip Pizlo <fpizlo@apple.com> 2 13 -
trunk/Source/JavaScriptCore/ChangeLog
r214138 r214143 1 2017-03-19 Yusuke Suzuki <utatane.tea@gmail.com> 2 3 import(arg) crashes when ToString(arg) throws 4 https://bugs.webkit.org/show_bug.cgi?id=169778 5 6 Reviewed by Saam Barati. 7 8 JSPromiseDeferred should not be rejected with Exception*. 9 10 * runtime/JSGlobalObjectFunctions.cpp: 11 (JSC::globalFuncImportModule): 12 1 13 2017-03-18 Oleksandr Skachkov <gskachkov@gmail.com> 2 14 -
trunk/Source/JavaScriptCore/runtime/JSGlobalObjectFunctions.cpp
r214038 r214143 758 758 if (Exception* exception = catchScope.exception()) { 759 759 catchScope.clearException(); 760 promise->reject(exec, exception );760 promise->reject(exec, exception->value()); 761 761 return JSValue::encode(promise->promise()); 762 762 } … … 765 765 if (Exception* exception = catchScope.exception()) { 766 766 catchScope.clearException(); 767 promise->reject(exec, exception );767 promise->reject(exec, exception->value()); 768 768 return JSValue::encode(promise->promise()); 769 769 }
Note: See TracChangeset
for help on using the changeset viewer.