Changeset 217695 in webkit
- Timestamp:
- Jun 1, 2017 9:35:25 PM (7 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/ChangeLog
r217681 r217695 1 2017-06-01 Chris Dumez <cdumez@apple.com> 2 3 REGRESSION (r206386): Xactimate Website Crashes @ com.apple.WebKit: WebKit::NPRuntimeObjectMap::convertJSValueToNPVariant + 255 4 https://bugs.webkit.org/show_bug.cgi?id=172846 5 <rdar://problem/31093005> 6 7 Reviewed by Andreas Kling. 8 9 In NPJSObject::invoke(), return early if there was an exception when calling JSC::call(). 10 Using the value returned by JSC::call() when an exception occurred is unsafe. 11 12 * WebProcess/Plugins/Netscape/NPJSObject.cpp: 13 (WebKit::NPJSObject::invoke): 14 1 15 2017-06-01 Jon Lee <jonlee@apple.com> 2 16 -
trunk/Source/WebKit2/WebProcess/Plugins/Netscape/NPJSObject.cpp
r211247 r217695 312 312 JSValue value = JSC::call(exec, function, callType, callData, m_jsObject.get(), argumentList); 313 313 314 if (UNLIKELY(scope.exception())) { 315 scope.clearException(); 316 return false; 317 } 318 314 319 // Convert and return the result of the function call. 315 320 m_objectMap->convertJSValueToNPVariant(exec, value, *result); 316 scope.clearException();317 321 318 322 return true;
Note: See TracChangeset
for help on using the changeset viewer.