| Summary: | Web Inspector: InspectorDOMAgent::getAccessibilityPropertiesForNode should gracefully handle bad node | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, graouts, jcraig, joepeck, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Attachments: |
|
||||||
|
Description
Joseph Pecoraro
2014-05-08 11:57:43 PDT
Created attachment 231087 [details]
[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.
Comment on attachment 231087 [details] [PATCH] Proposed Fix Clearing flags on attachment: 231087 Committed r168495: <http://trac.webkit.org/changeset/168495> All reviewed patches have been landed. Closing bug. |