[Webkit-unassigned] [Bug 15348] DOM Inspector hits exception when inspecting SVG

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 8 00:24:34 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15348


eric at webkit.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|SVG                         |Web Inspector
           Keywords|NeedsReduction              |HasReduction




------- Comment #2 from eric at webkit.org  2007-10-08 00:24 PDT -------
Turns out that the line having trouble was:

if (!priorityUsed && style.getPropertyPriority(name).length)

style.getPropertyPriority(name) was returning null, because name was null.

Instead of fixing the JS, I implemented getComputedStyle for SVG, which stopped
"name" from being null (at least for now).  This isn't a full fix, but it
solved my issue.  If someone would like to make this hunk of inspector JS more
robust, be my guess.  I wasn't exactly sure what the "correct" behavior was
when "name" was null.

The security exceptions are covered by:
http://bugs.webkit.org/show_bug.cgi?id=15419


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



More information about the webkit-unassigned mailing list