Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 45415270341ee79de9a0259e2410fe28616715a8
https://github.com/WebKit/WebKit/commit/45415270341ee79de9a0259e2410fe28616715a8
Author: Anuj Panta <[email protected]>
Date: 2026-06-16 (Tue, 16 Jun 2026)
Changed paths:
A
LayoutTests/http/tests/site-isolation/inspector/dom/undo-redo-frame-target-expected.txt
A
LayoutTests/http/tests/site-isolation/inspector/dom/undo-redo-frame-target.html
M Source/JavaScriptCore/inspector/protocol/DOM.json
M Source/WebCore/inspector/agents/frame/FrameDOMAgent.cpp
M Source/WebCore/inspector/agents/frame/FrameDOMAgent.h
M Source/WebCore/inspector/agents/frame/FrameDOMAgentStubs.cpp
Log Message:
-----------
Web Inspector: [SI] add DOMEditor and InspectorHistory to FrameDOMAgent
https://bugs.webkit.org/show_bug.cgi?id=314899
rdar://177173163
Reviewed by BJ Burg.
Setting up the editing instrumentation on FrameDOMAgent
so cross-origin
iframe edits can be recorded and undone. No editing commands wired yet —
follow-up radar fills the stack.
Test: http/tests/site-isolation/inspector/dom/undo-redo-frame-target.html
*
LayoutTests/http/tests/site-isolation/inspector/dom/undo-redo-frame-target-expected.txt:
Added.
*
LayoutTests/http/tests/site-isolation/inspector/dom/undo-redo-frame-target.html:
Added.
* Source/JavaScriptCore/inspector/protocol/DOM.json:
* Source/WebCore/inspector/agents/frame/FrameDOMAgent.cpp:
(WebCore::FrameDOMAgent::didCreateFrontendAndBackend):
(WebCore::FrameDOMAgent::willDestroyFrontendAndBackend):
(WebCore::FrameDOMAgent::reset):
(WebCore::FrameDOMAgent::undo):
(WebCore::FrameDOMAgent::redo):
(WebCore::FrameDOMAgent::markUndoableState):
* Source/WebCore/inspector/agents/frame/FrameDOMAgent.h:
* Source/WebCore/inspector/agents/frame/FrameDOMAgentStubs.cpp:
(WebCore::FrameDOMAgent::undo): Deleted.
(WebCore::FrameDOMAgent::redo):
Deleted.
(WebCore::FrameDOMAgent::markUndoableState): Deleted.
Canonical link:
https://flagged.apple.com:443/proxy?t2=DX9C0w7LR4&o=aHR0cHM6Ly9jb21taXRzLndlYmtpdC5vcmcvMzE1MzQwQG1haW4=&emid=410c808f-00f0-41a8-a05c-505c27dd7cbe&c=11
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications