| Summary: | Web Inspector: Uncaught exception when using Inspect tool on SVG elements | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Brian Burg <burg> | ||||
| Component: | Web Inspector | Assignee: | Brian Burg <burg> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| URL: | http://cse512-15s.github.io/a3-adityas-burg-aburner/dashboard/pipeline.html | ||||||
| Attachments: |
|
||||||
|
Description
Brian Burg
2015-05-24 16:34:07 PDT
Created attachment 253670 [details]
Patch
Comment on attachment 253670 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=253670&action=review r=me. Good find! > Source/JavaScriptCore/inspector/InjectedScriptSource.js:768 > + if (node.hasAttribute("class")) > + // Using .getAttribute() is a workaround for SVG*Element.className returning SVGAnimatedString, > + // which doesn't have any useful String methods. See <https://webkit.org/b/145363/>. > + description += "." + node.getAttribute("class").trim().replace(/\s+/g, "."); Style: This block need braces now. Committed r184847: <http://trac.webkit.org/changeset/184847> |