Changeset 278473 in webkit
- Timestamp:
- Jun 4, 2021 10:46:09 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JSTests/ChangeLog
r278465 r278473 1 2021-06-04 Mark Lam <mark.lam@apple.com> 2 3 Placate exception checker validation in objectPrototypeHasOwnProperty. 4 https://bugs.webkit.org/show_bug.cgi?id=226651 5 rdar://78861296 6 7 Reviewed by Keith Miller. 8 9 * stress/placate-exception-checker-in-objectPrototypeHasOwnProperty.js: Added. 10 1 11 2021-06-03 Filip Pizlo <fpizlo@apple.com> 2 12 -
trunk/Source/JavaScriptCore/ChangeLog
r278465 r278473 1 2021-06-04 Mark Lam <mark.lam@apple.com> 2 3 Placate exception checker validation in objectPrototypeHasOwnProperty. 4 https://bugs.webkit.org/show_bug.cgi?id=226651 5 rdar://78861296 6 7 Reviewed by Keith Miller. 8 9 * runtime/ObjectPrototype.cpp: 10 (JSC::objectPrototypeHasOwnProperty): 11 1 12 2021-06-03 Filip Pizlo <fpizlo@apple.com> 2 13 -
trunk/Source/JavaScriptCore/runtime/ObjectPrototype.cpp
r278438 r278473 103 103 HasOwnPropertyCache* hasOwnPropertyCache = vm.ensureHasOwnPropertyCache(); 104 104 if (std::optional<bool> result = hasOwnPropertyCache->get(structure, propertyName)) { 105 ASSERT(*result == thisObject->hasOwnProperty(globalObject, propertyName) || vm.hasPendingTerminationException()); 105 106 scope.assertNoExceptionExceptTermination(); 106 ASSERT(*result == thisObject->hasOwnProperty(globalObject, propertyName) || vm.hasPendingTerminationException());107 107 return *result; 108 108 }
Note: See TracChangeset
for help on using the changeset viewer.