Changeset 249020 in webkit
- Timestamp:
- Aug 22, 2019 11:18:04 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r248989 r249020 1 2019-08-22 Justin Michaud <justin_michaud@apple.com> 2 3 Add missing exception check in canonicalizeLocaleList 4 https://bugs.webkit.org/show_bug.cgi?id=201021 5 6 Reviewed by Mark Lam. 7 8 * stress/missing-exception-check-in-canonicalizeLocaleList.js: Added. 9 (catch): 10 1 11 2019-08-21 Mark Lam <mark.lam@apple.com> 2 12 -
trunk/Source/JavaScriptCore/ChangeLog
r249013 r249020 1 2019-08-22 Justin Michaud <justin_michaud@apple.com> 2 3 Add missing exception check in canonicalizeLocaleList 4 https://bugs.webkit.org/show_bug.cgi?id=201021 5 6 Reviewed by Mark Lam. 7 8 * runtime/IntlObject.cpp: 9 (JSC::canonicalizeLocaleList): 10 1 11 2019-08-17 Darin Adler <darin@apple.com> 2 12 -
trunk/Source/JavaScriptCore/runtime/IntlObject.cpp
r247247 r249020 550 550 RETURN_IF_EXCEPTION(scope, Vector<String>()); 551 551 552 String canonicalizedTag = canonicalizeLanguageTag(tag->value(&state)); 552 auto tagValue = tag->value(&state); 553 RETURN_IF_EXCEPTION(scope, Vector<String>()); 554 555 String canonicalizedTag = canonicalizeLanguageTag(tagValue); 553 556 if (canonicalizedTag.isNull()) { 554 throwException(&state, scope, createRangeError(&state, "invalid language tag: " + tag ->value(&state)));557 throwException(&state, scope, createRangeError(&state, "invalid language tag: " + tagValue)); 555 558 return Vector<String>(); 556 559 }
Note: See TracChangeset
for help on using the changeset viewer.