-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop insecure contexts warning from getGamepads()
https://bugs.webkit.org/show_bug.cgi?id=269514 rdar://123039555 Reviewed by Chris Dumez. Removed console warning about restricting to secure contexts. Chrome is also removed the warning. Firefox is removing the restriction. w3c/gamepad#145 (comment) Related pull request on the W3C gamepad spec: w3c/gamepad#194 * LayoutTests/http/tests/misc/gamepads-insecure-expected.txt: * LayoutTests/http/tests/misc/gamepads-insecure.html: * Source/WebCore/Modules/gamepad/NavigatorGamepad.cpp: Canonical link: https://commits.webkit.org/274962@main
- Loading branch information
1 parent
fd1700a
commit 5300e77
Showing
3 changed files
with
2 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
CONSOLE MESSAGE: Navigator.getGamepads() will be removed from insecure contexts in a future release | ||
Test that accessing navigator.getGamepads from an insecure context logs a warning | ||
Test that calling navigator.getGamepads no longer generates a console message in insecure contexts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters