[webkit-changes] [WebKit/WebKit] c586c6: REGRESSION(269235 at main?):[ Monterey+ ] http/tests/...

sideshowbarker noreply at github.com
Tue Nov 14 17:21:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c586c6d289d7c653602ddadbdb6ccab49671ba34
      https://github.com/WebKit/WebKit/commit/c586c6d289d7c653602ddadbdb6ccab49671ba34
  Author: Michael[tm] Smith <mike at w3.org>
  Date:   2023-11-14 (Tue, 14 Nov 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M LayoutTests/http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson-expected.txt
    M LayoutTests/http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html
    M Source/WebCore/dom/Document.h
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/Internals.idl

  Log Message:
  -----------
  REGRESSION(269235 at main?):[ Monterey+ ] http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html is flaky recently
https://bugs.webkit.org/show_bug.cgi?id=263879

Reviewed by Chris Dumez.

This change updates the
http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html
test to ensure it consistently passes.

The change adds a new isFullyActive(Document&) function to window.internals,
and uses that function in the test.

* LayoutTests/TestExpectations:
* LayoutTests/http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson-expected.txt:
* LayoutTests/http/tests/security/xss-DENIED-script-inject-into-inactive-window2-pson.html:
* Source/WebCore/dom/Document.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::isFullyActive):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:

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




More information about the webkit-changes mailing list