We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39ffbeb commit 6ee4b86Copy full SHA for 6ee4b86
third_party/blink/renderer/core/inspector/inspector_css_agent.cc
@@ -1192,6 +1192,8 @@ Response InspectorCSSAgent::getComputedStyleForNode(
1192
response = dom_agent_->AssertNode(node_id, node);
1193
if (!response.IsSuccess())
1194
return response;
1195
+ if (!node->ownerDocument())
1196
+ return Response::ServerError("Node does not have an owner document");
1197
1198
auto* computed_style_info =
1199
MakeGarbageCollected<CSSComputedStyleDeclaration>(node, true);
0 commit comments