<rdar://problem/16142324> Navigating to the URL causes the Web Content process to crash with a backtrace like this: 0 com.apple.JavaScriptCore 0x00000001064d75ce WTFCrash + 62 1 com.apple.JavaScriptCore 0x0000000106195fae JSC::ErrorHandlingScope::ErrorHandlingScope(JSC::VM&) + 62 2 com.apple.JavaScriptCore 0x000000010639d5c6 Inspector::JSGlobalObjectInspectorController::reportAPIException(JSC::ExecState*, JSC::JSValue) + 70 3 com.apple.JavaScriptCore 0x000000010636eb6b JSValueToObject + 331 4 com.apple.Safari.framework 0x00007fff9264aa21 controlObject(objc_object*, double, NSString*) + 207 This was caused by <http://trac.webkit.org/r164507>, the fix for bug 128776.
Created attachment 224992 [details] Revert r164507
Committed <http://trac.webkit.org/r164554>.
Is bug 129221 the same issue ?
(In reply to comment #3) > Is bug 129221 the same issue ? Yes. Sorry I didn’t see that one!
*** Bug 129221 has been marked as a duplicate of this bug. ***
I see. I kept the ErrorHandlingScope from the original code, but I guess I'm not exactly why it is needed. Thanks for rolling out.
Correction: I'm not exactly sure* why it is needed.
The original patch landed again in <http://trac.webkit.org/changeset/164824>. I could not reproduce the problem after the recent JSC fixes for this. I was unable to reproduce the same reportAPIException calls you guys saw, but I did produce a different one and we handled that fine. Please let me know if you are seeing crashes again after r 164824!