[webkit-changes] [WebKit/WebKit] f6f9d6: Web Inspector: support `DOMRect` in `console.scree...
Devin Rousso
noreply at github.com
Tue Jan 7 10:30:58 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: f6f9d60bae5c9a19941d4b09e0dc6654982083f2
https://github.com/WebKit/WebKit/commit/f6f9d60bae5c9a19941d4b09e0dc6654982083f2
Author: Devin Rousso <hi at devinrousso.com>
Date: 2025-01-07 (Tue, 07 Jan 2025)
Changed paths:
M LayoutTests/inspector/console/console-screenshot-expected.txt
M LayoutTests/inspector/console/console-screenshot.html
M Source/WebCore/page/PageConsoleClient.cpp
Log Message:
-----------
Web Inspector: support `DOMRect` in `console.screenshot`
https://bugs.webkit.org/show_bug.cgi?id=284423
Reviewed by Tim Nguyen.
This will allow developers to customize what part of the page is captured instead of more coarse options like a `Node` or the entire `document`.
* Source/WebCore/page/PageConsoleClient.cpp:
(WebCore::PageConsoleClient::screenshot):
* LayoutTests/inspector/console/console-screenshot.html:
* LayoutTests/inspector/console/console-screenshot-expected.txt:
Canonical link: https://commits.webkit.org/288544@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list