Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 247db08898115cc11312a887f248e5a96d64dc7a
      
https://github.com/WebKit/WebKit/commit/247db08898115cc11312a887f248e5a96d64dc7a
  Author: Alex Christensen <[email protected]>
  Date:   2024-01-13 (Sat, 13 Jan 2024)

  Changed paths:
    M LayoutTests/platform/mac-site-isolation/TestExpectations
    M Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp

  Log Message:
  -----------
  WebKitTestRunner's hasDocumentElement should return false if there is no JS 
context
https://bugs.webkit.org/show_bug.cgi?id=267483
rdar://120933913

Reviewed by Charlie Wolfe.

A RemoteFrame has no JS context because the JS context is in another process.
This little change fixes a crash in layout tests with --site-isolation

* LayoutTests/platform/mac-site-isolation/TestExpectations:
* Tools/WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::hasDocumentElement):

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


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

Reply via email to