There used to be an inconsistent mix of HTML attributes and JS properties being used to associated additional data with an anchor element. This patch changes every linkifier to use object attributes. This also removes some duplicate linkifier code.
Created attachment 117412 [details] Patch
Comment on attachment 117412 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=117412&action=review > Source/WebCore/inspector/front-end/AuditFormatters.js:98 > + return WebInspector.linkifyResourceAsNode(url, line - 1, "console-message-url webkit-html-resource-link"); Where is + 1?
Comment on attachment 117412 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=117412&action=review >> Source/WebCore/inspector/front-end/AuditFormatters.js:98 > > Where is + 1? I mean if extensions is the only subsystem using 1-based line numbers, we should limit its use to extensions.
(In reply to comment #3) > (From update of attachment 117412 [details]) > > Where is + 1? > > I mean if extensions is the only subsystem using 1-based line numbers, we should limit its use to extensions. Done.
Created attachment 117435 [details] Patch
Committed r101760: <http://trac.webkit.org/changeset/101760>