Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1a159c20baced4015d48fb57d28bf0b82db7e1a4
      
https://github.com/WebKit/WebKit/commit/1a159c20baced4015d48fb57d28bf0b82db7e1a4
  Author: Devin Rousso <[email protected]>
  Date:   2026-07-08 (Wed, 08 Jul 2026)

  Changed paths:
    M 
LayoutTests/http/tests/site-isolation/inspector/css/css-editing-commands-frame-target.html
    M 
LayoutTests/http/tests/site-isolation/inspector/css/css-stylesheet-commands-frame-target-expected.txt
    M 
LayoutTests/http/tests/site-isolation/inspector/css/css-stylesheet-commands-frame-target.html
    M 
LayoutTests/http/tests/site-isolation/inspector/css/resources/frame-with-stylesheet.html
    M LayoutTests/inspector/css/getMatchedStylesForNode-expected.txt
    M LayoutTests/inspector/css/modify-with-cssom-expected.txt
    M LayoutTests/inspector/css/setStyleText-expected.txt
    R LayoutTests/inspector/dom/focus-expected.txt
    R LayoutTests/inspector/dom/focus.html
    M Source/JavaScriptCore/inspector/protocol/CSS.json
    M Source/JavaScriptCore/inspector/protocol/DOM.json
    M Source/WebCore/inspector/InspectorStyleSheet.cpp
    M Source/WebCore/inspector/InspectorStyleSheet.h
    M Source/WebCore/inspector/agents/InspectorCSSAgent.cpp
    M Source/WebCore/inspector/agents/InspectorCSSAgent.h
    M Source/WebCore/inspector/agents/InspectorDOMAgent.cpp
    M Source/WebCore/inspector/agents/InspectorDOMAgent.h
    M Source/WebCore/inspector/agents/frame/FrameCSSAgent.cpp
    M Source/WebCore/inspector/agents/frame/FrameCSSAgent.h
    M Source/WebCore/inspector/agents/frame/FrameDOMAgent.h
    M Source/WebCore/inspector/agents/frame/FrameDOMAgentStubs.cpp

  Log Message:
  -----------
  Web Inspector: remove unused protocol code
https://bugs.webkit.org/show_bug.cgi?id=318182

Reviewed by Tim Nguyen.

All of the following are not used anywhere in Web Inspector:
- `CSS.CSSStyleAttribute`
- `CSS.CSSStyleSheetHeader.title`
- `CSS.CSSStyleSheetHeader.disabled`
- `CSS.CSSStyleSheetBody`
- `CSS.ShorthandEntry`
- `CSS.CSSStyle.shorthandEntries`
- `CSS.CSSStyle.width`
- `CSS.CSSStyle.height`
- `CSS.getStyleSheet`
- `DOM.highlightFrame`
- `DOM.focus`

* Source/JavaScriptCore/inspector/protocol/CSS.json:
* Source/WebCore/inspector/InspectorStyleSheet.h:
* Source/WebCore/inspector/InspectorStyleSheet.cpp:
(WebCore::InspectorStyle::buildObjectForStyle):
(WebCore::InspectorStyle::styleWithProperties):
(WebCore::InspectorStyleSheet::buildObjectForStyleSheetInfo):
(WebCore::InspectorStyleSheet::buildObjectForStyle):
(WebCore::InspectorStyle::shorthandValue const): Deleted.
(WebCore::InspectorStyleSheet::buildObjectForStyleSheet): Deleted.
(WebCore::InspectorStyleSheet::buildArrayForRuleList): Deleted.
* Source/WebCore/inspector/agents/InspectorCSSAgent.h:
* Source/WebCore/inspector/agents/InspectorCSSAgent.cpp:
(WebCore::InspectorCSSAgent::getStyleSheet): Deleted.
* Source/WebCore/inspector/agents/frame/FrameCSSAgent.h:
* Source/WebCore/inspector/agents/frame/FrameCSSAgent.cpp:
(WebCore::FrameCSSAgent::getStyleSheet): Deleted.
* LayoutTests/inspector/css/getMatchedStylesForNode-expected.txt:
* LayoutTests/inspector/css/modify-with-cssom-expected.txt:
* LayoutTests/inspector/css/setStyleText-expected.txt:
* 
LayoutTests/http/tests/site-isolation/inspector/css/css-editing-commands-frame-target.html:
* 
LayoutTests/http/tests/site-isolation/inspector/css/css-stylesheet-commands-frame-target.html:
* 
LayoutTests/http/tests/site-isolation/inspector/css/css-stylesheet-commands-frame-target-expected.txt:
* 
LayoutTests/http/tests/site-isolation/inspector/css/resources/frame-with-stylesheet.html:

* Source/JavaScriptCore/inspector/protocol/DOM.json:
* Source/WebCore/inspector/agents/InspectorDOMAgent.h:
* Source/WebCore/inspector/agents/InspectorDOMAgent.cpp:
(WebCore::InspectorDOMAgent::highlightFrame): Deleted.
(WebCore::InspectorDOMAgent::focus): Deleted.
* Source/WebCore/inspector/agents/frame/FrameDOMAgent.h:
* Source/WebCore/inspector/agents/frame/FrameDOMAgentStubs.cpp:
(WebCore::FrameDOMAgent::highlightFrame): Deleted.
(WebCore::FrameDOMAgent::focus): Deleted.
* LayoutTests/inspector/dom/focus.html: Removed.
* LayoutTests/inspector/dom/focus-expected.txt: Removed.

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to