[webkit-changes] [WebKit/WebKit] a68ef7: Prevent hidden documents from locking the screen o...

Marcos Cáceres noreply at github.com
Fri Nov 25 03:23:02 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: a68ef76884df02cb25c760874bfc38df99c09783
      https://github.com/WebKit/WebKit/commit/a68ef76884df02cb25c760874bfc38df99c09783
  Author: Marcos Caceres <marcos at marcosc.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

  Changed paths:
    A LayoutTests/fast/screen-orientation/hidden-document-check-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/resources/testdriver-vendor.js
    A LayoutTests/imported/w3c/web-platform-tests/screen-orientation/hidden_document-expected.txt
    A LayoutTests/imported/w3c/web-platform-tests/screen-orientation/hidden_document.html
    M LayoutTests/platform/ios/TestExpectations
    M Source/WebCore/page/ScreenOrientation.cpp

  Log Message:
  -----------
  Prevent hidden documents from locking the screen orientation
https://bugs.webkit.org/show_bug.cgi?id=247248
rdar://102019707

Reviewed by Youenn Fablet.

* LayoutTests/fast/screen-orientation/hidden-document-check-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/resources/testdriver-vendor.js:
(window.test_driver_internal.action_sequence):
(async if):
(window.test_driver_internal.minimize_window):
(window.test_driver_internal.set_window_rect):
* LayoutTests/imported/w3c/web-platform-tests/screen-orientation/hidden_document-expected.txt: Added.
* LayoutTests/imported/w3c/web-platform-tests/screen-orientation/hidden_document.html: Added.
* LayoutTests/platform/ios/TestExpectations:
* Source/WebCore/page/ScreenOrientation.cpp:
(WebCore::ScreenOrientation::lock):

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




More information about the webkit-changes mailing list