RESOLVED FIXED 24759
Exceptions in removeStyleClass and enclosingNodeOrSelfWithNodeName
https://bugs.webkit.org/show_bug.cgi?id=24759
Summary Exceptions in removeStyleClass and enclosingNodeOrSelfWithNodeName
Yury Semikhatsky
Reported 2009-03-23 09:02:42 PDT
WebCore/inspector/front-end/SourceFrame.js adds method removeStyleClass to Element.prototype in content iframe(http://trac.webkit.org/browser/trunk/WebCore/inspector/front-end/SourceFrame.js#L227). Though the method calls removeMatchingStyleClasses which is not defined for Element. The same problem with Node.prototype.enclosingNodeOrSelfWithNodeName and Node.prototype.enclosingNodeOrSelfWithNodeNameInArray. The problem is repeatable with Chrome and for some reason is not repeatable with Safari.
Attachments
a patch definging missing methods in the iframe (1.89 KB, patch)
2009-03-23 10:40 PDT, Yury Semikhatsky
darin: review+
Yury Semikhatsky
Comment 1 2009-03-23 10:40:24 PDT
Created attachment 28857 [details] a patch definging missing methods in the iframe
Darin Adler
Comment 2 2009-03-23 11:31:16 PDT
Comment on attachment 28857 [details] a patch definging missing methods in the iframe r=me
Dimitri Glazkov (Google)
Comment 3 2009-03-23 13:22:00 PDT
I'll land.
Dimitri Glazkov (Google)
Comment 4 2009-03-24 10:09:29 PDT
Note You need to log in before you can comment on or make changes to this bug.