Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: Regression(r266885) Crash sometimes when rehydrating i…
…mported audit results https://bugs.webkit.org/show_bug.cgi?id=240366 Reviewed by Devin Rousso. Source/JavaScriptCore: * inspector/protocol/DOM.json: Source/WebCore: Added test cases to inspector/model/dom-node.html After r266885, there is no path to handle the possibility that there may not be a resulting node for calls to `DOM.querySelector`. To correct this, mark the return value as optional (Web Inspector frontend already treats it as optional) and return early if there was no Element matching the selector. * inspector/agents/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::querySelector): * inspector/agents/InspectorDOMAgent.h: LayoutTests: * inspector/model/dom-node.html: * inspector/model/dom-node-expected.txt: Canonical link: https://commits.webkit.org/250592@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294234 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
1 parent
5df986f
commit 9eed1eb199fa67e8f7dec170ddf3aa8acb49c9c2
Showing
8 changed files
with
81 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
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