Branch: refs/heads/main Home: https://github.com/WebKit/WebKit Commit: 45eea066f649f61bcf1e380097b34986dbdda9a2 https://github.com/WebKit/WebKit/commit/45eea066f649f61bcf1e380097b34986dbdda9a2 Author: Alexey Shvayka <shvaikal...@gmail.com> Date: 2022-09-19 (Mon, 19 Sep 2022)
Changed paths: M Source/WebCore/bindings/js/ScheduledAction.cpp Log Message: ----------- [WebIDL] Greatly simplify reporting an OOM error in ScheduledAction::executeFunctionInContext() https://bugs.webkit.org/show_bug.cgi?id=245367 Reviewed by Mark Lam. This change leverages JSC::Exception::create() to avoid throwing and then catching an OOM error just to wrap it into a JSC::Exception. * Source/WebCore/bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::executeFunctionInContext): Canonical link: https://commits.webkit.org/254642@main _______________________________________________ webkit-changes mailing list webkit-changes@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-changes