Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4500a5a19d5349da167b2adff6b9d32edb097f01
https://github.com/WebKit/WebKit/commit/4500a5a19d5349da167b2adff6b9d32edb097f01
Author: Chris Dumez <[email protected]>
Date: 2022-09-24 (Sat, 24 Sep 2022)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/screen-wake-lock/idlharness.https.window-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/screen-wake-lock/wakelock-active-document.https.window-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/screen-wake-lock/wakelock-disabled-by-feature-policy.https.sub-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/screen-wake-lock/wakelock-insecure-context.any-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/screen-wake-lock/wakelock-type.https.window-expected.txt
A
LayoutTests/platform/glib/imported/w3c/web-platform-tests/screen-wake-lock/wakelock-insecure-context.any-expected.txt
M LayoutTests/platform/gtk/fast/dom/navigator-detached-no-crash-expected.txt
M
LayoutTests/platform/mac-wk1/fast/dom/navigator-detached-no-crash-expected.txt
M
LayoutTests/platform/mac-wk2/fast/dom/navigator-detached-no-crash-expected.txt
M Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml
M Source/WebCore/CMakeLists.txt
M Source/WebCore/DerivedSources-input.xcfilelist
M Source/WebCore/DerivedSources-output.xcfilelist
M Source/WebCore/DerivedSources.make
A Source/WebCore/Modules/screen-wake-lock/Navigator+ScreenWakeLock.idl
A Source/WebCore/Modules/screen-wake-lock/NavigatorScreenWakeLock.cpp
A Source/WebCore/Modules/screen-wake-lock/NavigatorScreenWakeLock.h
A Source/WebCore/Modules/screen-wake-lock/WakeLock.cpp
A Source/WebCore/Modules/screen-wake-lock/WakeLock.h
A Source/WebCore/Modules/screen-wake-lock/WakeLock.idl
A Source/WebCore/Modules/screen-wake-lock/WakeLockSentinel.cpp
A Source/WebCore/Modules/screen-wake-lock/WakeLockSentinel.h
A Source/WebCore/Modules/screen-wake-lock/WakeLockSentinel.idl
A Source/WebCore/Modules/screen-wake-lock/WakeLockType.h
A Source/WebCore/Modules/screen-wake-lock/WakeLockType.idl
M Source/WebCore/Sources.txt
M Source/WebCore/WebCore.xcodeproj/project.pbxproj
M Source/WebCore/bindings/js/WebCoreBuiltinNames.h
M Source/WebCore/dom/EventNames.h
M Source/WebCore/dom/EventTargetFactory.in
Log Message:
-----------
Land stubs for the Screen Wake Lock API
https://bugs.webkit.org/show_bug.cgi?id=245551
Reviewed by Brent Fulgham.
Land stubs for the Screen Wake Lock API:
- https://www.w3.org/TR/screen-wake-lock
* Source/WTF/Scripts/Preferences/WebPreferencesExperimental.yaml:
* Source/WebCore/CMakeLists.txt:
* Source/WebCore/DerivedSources-input.xcfilelist:
* Source/WebCore/DerivedSources-output.xcfilelist:
* Source/WebCore/DerivedSources.make:
* Source/WebCore/Modules/screen-wake-lock/Navigator+ScreenWakeLock.idl: Added.
* Source/WebCore/Modules/screen-wake-lock/NavigatorScreenWakeLock.cpp: Added.
(WebCore::NavigatorScreenWakeLock::NavigatorScreenWakeLock):
(WebCore::NavigatorScreenWakeLock::from):
(WebCore::NavigatorScreenWakeLock::supplementName):
(WebCore::NavigatorScreenWakeLock::wakeLock):
* Source/WebCore/Modules/screen-wake-lock/NavigatorScreenWakeLock.h: Added.
* Source/WebCore/Modules/screen-wake-lock/WakeLock.cpp: Added.
(WebCore::WakeLock::request):
* Source/WebCore/Modules/screen-wake-lock/WakeLock.h: Added.
(WebCore::WakeLock::create):
* Source/WebCore/Modules/screen-wake-lock/WakeLock.idl: Added.
* Source/WebCore/Modules/screen-wake-lock/WakeLockSentinel.cpp: Added.
(WebCore::WakeLockSentinel::WakeLockSentinel):
(WebCore::WakeLockSentinel::release):
(WebCore::WakeLockSentinel::activeDOMObjectName const):
* Source/WebCore/Modules/screen-wake-lock/WakeLockSentinel.h: Added.
* Source/WebCore/Modules/screen-wake-lock/WakeLockSentinel.idl: Added.
* Source/WebCore/Modules/screen-wake-lock/WakeLockType.h: Added.
* Source/WebCore/Modules/screen-wake-lock/WakeLockType.idl: Added.
* Source/WebCore/Sources.txt:
* Source/WebCore/WebCore.xcodeproj/project.pbxproj:
* Source/WebCore/bindings/js/WebCoreBuiltinNames.h:
* Source/WebCore/dom/EventNames.h:
* Source/WebCore/dom/EventTargetFactory.in:
Canonical link: https://commits.webkit.org/254825@main
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes