Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 256b84642a016a230bdd4aa56ec2a26008301002
      
https://github.com/WebKit/WebKit/commit/256b84642a016a230bdd4aa56ec2a26008301002
  Author: Alex Christensen <[email protected]>
  Date:   2024-01-11 (Thu, 11 Jan 2024)

  Changed paths:
    A LayoutTests/fast/dom/view-transition-without-global-object-expected.txt
    A LayoutTests/fast/dom/view-transition-without-global-object.html
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h

  Log Message:
  -----------
  Crash in ViewTransition::create
https://bugs.webkit.org/show_bug.cgi?id=265806
rdar://119142736

Reviewed by Tim Nguyen.

If there is no global object, return null.  This matches the behavior of 
Chromium.

* LayoutTests/fast/dom/view-transition-without-global-object-expected.txt: 
Added.
* LayoutTests/fast/dom/view-transition-without-global-object.html: Added.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::startViewTransition):
* Source/WebCore/dom/Document.h:

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to