[webkit-changes] [WebKit/WebKit] 7dd869: Regression(279096 at main) Crash under ScriptModuleLo...

Chris Dumez noreply at github.com
Wed Jun 26 12:46:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7dd869e80381607bcce9fe68e53cebde3c41fe5d
      https://github.com/WebKit/WebKit/commit/7dd869e80381607bcce9fe68e53cebde3c41fe5d
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-06-26 (Wed, 26 Jun 2024)

  Changed paths:
    M Source/WebCore/bindings/js/ScriptModuleLoader.cpp

  Log Message:
  -----------
  Regression(279096 at main) Crash under ScriptModuleLoader::notifyFinished()
https://bugs.webkit.org/show_bug.cgi?id=275909
rdar://129414528

Reviewed by Brady Eidson.

Make sure ScriptExecutionContext::globalObject() is not null before dereferencing
it. Also do some smart pointer adoption.

* Source/WebCore/bindings/js/ScriptModuleLoader.cpp:
(WebCore::ScriptModuleLoader::notifyFinished):

Canonical link: https://commits.webkit.org/280386@main



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list