Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Prevent attaching when inspecting the Web Inspector.
Source/WebCore: https://webkit.org/b/78304 Reviewed by Brian Weinstein. * inspector/InspectorFrontendClientLocal.cpp: (WebCore::InspectorFrontendClientLocal::canAttachWindow): Prevent attaching when the page is an inspector page. Source/WebKit2: Also adds some comments about keeping in sync with InspectorFrontendClientLocal::canAttachWindow and why there are two implementations of the same function. https://webkit.org/b/78304 Reviewed by Brian Weinstein. * UIProcess/WebInspectorProxy.cpp: (WebKit::WebInspectorProxy::canAttach): Prevent attaching when the page is an inspector page. Added comments about InspectorFrontendClientLocal::canAttachWindow. * UIProcess/WebInspectorProxy.h: (WebInspectorProxy): Added comment about keeping in sync with InspectorFrontendClientLocal. Canonical link: https://commits.webkit.org/95234@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@107362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
46 additions
and 5 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
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
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