[webkit-changes] [WebKit/WebKit] 50773f: Implement history action user activation

Luke Warlow noreply at github.com
Tue Jan 2 17:38:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 50773fa12cff9404aa56ad0bcac5f09e9ab6c194
      https://github.com/WebKit/WebKit/commit/50773fa12cff9404aa56ad0bcac5f09e9ab6c194
  Author: Luke Warlow <lwarlow at igalia.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    A LayoutTests/fast/html/history-action-user-activation-expected.txt
    A LayoutTests/fast/html/history-action-user-activation.html
    M LayoutTests/platform/gtk/TestExpectations
    M LayoutTests/platform/ios/TestExpectations
    M LayoutTests/platform/mac-wk1/TestExpectations
    M LayoutTests/platform/wincairo/TestExpectations
    M LayoutTests/platform/wpe/TestExpectations
    M Source/WebCore/page/LocalDOMWindow.cpp
    M Source/WebCore/page/LocalDOMWindow.h
    M Source/WebCore/testing/Internals.cpp
    M Source/WebCore/testing/Internals.h
    M Source/WebCore/testing/Internals.idl

  Log Message:
  -----------
  Implement history action user activation
https://bugs.webkit.org/show_bug.cgi?id=266554

Reviewed by Alex Christensen.

This implements the history action user activation algorithm from the HTML spec.

Spec URL: https://html.spec.whatwg.org/multipage/interaction.html#history-action-activation

* LayoutTests/fast/html/history-action-user-activation-expected.txt: Added.
* LayoutTests/fast/html/history-action-user-activation.html: Added.
* LayoutTests/platform/gtk/TestExpectations:
* LayoutTests/platform/ios/TestExpectations:
* LayoutTests/platform/mac-wk1/TestExpectations:
* LayoutTests/platform/wincairo/TestExpectations:
* LayoutTests/platform/wpe/TestExpectations:
* Source/WebCore/page/LocalDOMWindow.cpp:
(WebCore::LocalDOMWindow::hasHistoryActionActivation const):
(WebCore::LocalDOMWindow::consumeHistoryActionUserActivation):
* Source/WebCore/page/LocalDOMWindow.h:
* Source/WebCore/testing/Internals.cpp:
(WebCore::Internals::hasHistoryActionActivation):
(WebCore::Internals::consumeHistoryActionUserActivation):
* Source/WebCore/testing/Internals.h:
* Source/WebCore/testing/Internals.idl:

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




More information about the webkit-changes mailing list