Hi, I’ve added some defensive checks in LazySourceLocation and AnimationFrameTimingMonitor to address a crash issue.
I’d appreciate any feedback or suggestions.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
if (!isolate || isolate->IsDead()) {Why do we even still have this check? Thought we discussed this. No, isolate can't be null here, because it's never reset to null in ScriptState.
v8::HandleScope handle_scope(isolate);Not sure I see how this (or any other changes in this method) would be related to the crash in question. We already deal with Locals on the call site, so perhaps this is redundant?
if (stack_frame.IsEmpty()) {I don't think this would ever happen. Even if we did, we would just end up with a null dereference below, not with the kind of corruption that the original crash implies.
if (script_name_v8.IsEmpty()) {Why though? LazySourceLocation seems to be able to deal with an empty script url just fine.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |