Title: [266679] trunk/Source/_javascript_Core
- Revision
- 266679
- Author
- [email protected]
- Date
- 2020-09-05 21:56:00 -0700 (Sat, 05 Sep 2020)
Log Message
Unreviewed, suppress exception checking after unwrapForOldFunctions
https://bugs.webkit.org/show_bug.cgi?id=216193
* runtime/IntlNumberFormatPrototype.cpp:
(JSC::IntlNumberFormatPrototypeGetterFormat):
(JSC::IntlNumberFormatPrototypeFuncResolvedOptions):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/ChangeLog (266678 => 266679)
--- trunk/Source/_javascript_Core/ChangeLog 2020-09-06 02:49:22 UTC (rev 266678)
+++ trunk/Source/_javascript_Core/ChangeLog 2020-09-06 04:56:00 UTC (rev 266679)
@@ -1,3 +1,12 @@
+2020-09-05 Yusuke Suzuki <[email protected]>
+
+ Unreviewed, suppress exception checking after unwrapForOldFunctions
+ https://bugs.webkit.org/show_bug.cgi?id=216193
+
+ * runtime/IntlNumberFormatPrototype.cpp:
+ (JSC::IntlNumberFormatPrototypeGetterFormat):
+ (JSC::IntlNumberFormatPrototypeFuncResolvedOptions):
+
2020-09-05 Devin Rousso <[email protected]>
Web Inspector: allow DOM breakpoints to be configured
Modified: trunk/Source/_javascript_Core/runtime/IntlNumberFormatPrototype.cpp (266678 => 266679)
--- trunk/Source/_javascript_Core/runtime/IntlNumberFormatPrototype.cpp 2020-09-06 02:49:22 UTC (rev 266678)
+++ trunk/Source/_javascript_Core/runtime/IntlNumberFormatPrototype.cpp 2020-09-06 04:56:00 UTC (rev 266679)
@@ -115,6 +115,7 @@
// 11.3.3 Intl.NumberFormat.prototype.format (ECMA-402 2.0)
// 1. Let nf be this NumberFormat object.
auto* nf = IntlNumberFormat::unwrapForOldFunctions(globalObject, callFrame->thisValue());
+ RETURN_IF_EXCEPTION(scope, { });
if (UNLIKELY(!nf))
return JSValue::encode(throwTypeError(globalObject, scope, "Intl.NumberFormat.prototype.format called on value that's not an object initialized as a NumberFormat"_s));
@@ -162,6 +163,7 @@
// 11.3.5 Intl.NumberFormat.prototype.resolvedOptions() (ECMA-402 2.0)
auto* numberFormat = IntlNumberFormat::unwrapForOldFunctions(globalObject, callFrame->thisValue());
+ RETURN_IF_EXCEPTION(scope, { });
if (UNLIKELY(!numberFormat))
return JSValue::encode(throwTypeError(globalObject, scope, "Intl.NumberFormat.prototype.resolvedOptions called on value that's not an object initialized as a NumberFormat"_s));
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes