[Webkit-unassigned] [Bug 132697] Web Inspector: InspectorDOMAgent::getAccessibilityPropertiesForNode should gracefully handle bad node

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 8 12:00:21 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=132697


Joseph Pecoraro <joepeck at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #231087|                            |review?, commit-queue?
               Flag|                            |




--- Comment #2 from Joseph Pecoraro <joepeck at webkit.org>  2014-05-08 12:00:42 PST ---
Created an attachment (id=231087)
 --> (https://bugs.webkit.org/attachment.cgi?id=231087&action=review)
[PATCH] Proposed Fix

In release builds buildObjectForAccessibilityProperties would return nullptr.
In debug builds we would assert if we passed a null node to buildObjectForAccessibilityProperties.
So more gracefully handle a null node before calling the function.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list