Changeset 168495 in webkit


Ignore:
Timestamp:
May 8, 2014 2:20:11 PM (10 years ago)
Author:
commit-queue@webkit.org
Message:

Web Inspector: InspectorDOMAgent::getAccessibilityPropertiesForNode should gracefully handle bad node
https://bugs.webkit.org/show_bug.cgi?id=132697

Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-05-08
Reviewed by Timothy Hatcher.

  • inspector/InspectorDOMAgent.cpp:

(WebCore::InspectorDOMAgent::getAccessibilityPropertiesForNode):
Gracefully handle no node.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r168483 r168495  
     12014-05-08  Joseph Pecoraro  <pecoraro@apple.com>
     2
     3        Web Inspector: InspectorDOMAgent::getAccessibilityPropertiesForNode should gracefully handle bad node
     4        https://bugs.webkit.org/show_bug.cgi?id=132697
     5
     6        Reviewed by Timothy Hatcher.
     7
     8        * inspector/InspectorDOMAgent.cpp:
     9        (WebCore::InspectorDOMAgent::getAccessibilityPropertiesForNode):
     10        Gracefully handle no node.
     11
    1122014-05-08  Tim Horton  <timothy_horton@apple.com>
    213
  • trunk/Source/WebCore/inspector/InspectorDOMAgent.cpp

    r167089 r168495  
    879879{
    880880    Node* node = assertNode(errorString, nodeId);
     881    if (!node)
     882        return;
     883
    881884    axProperties = buildObjectForAccessibilityProperties(node);
    882885}
Note: See TracChangeset for help on using the changeset viewer.