WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
73556
Web Inspector: use object properties, not element attributes to pass preferred panel/line/request id in linkified anchors
https://bugs.webkit.org/show_bug.cgi?id=73556
Summary
Web Inspector: use object properties, not element attributes to pass preferre...
Andrey Kosyakov
Reported
2011-12-01 06:16:20 PST
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.
Attachments
Patch
(18.11 KB, patch)
2011-12-01 06:52 PST
,
Andrey Kosyakov
no flags
Details
Formatted Diff
Diff
Patch
(19.95 KB, patch)
2011-12-01 09:20 PST
,
Andrey Kosyakov
pfeldman
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Andrey Kosyakov
Comment 1
2011-12-01 06:52:49 PST
Created
attachment 117412
[details]
Patch
Pavel Feldman
Comment 2
2011-12-01 08:59:47 PST
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?
Pavel Feldman
Comment 3
2011-12-01 09:04:35 PST
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.
Andrey Kosyakov
Comment 4
2011-12-01 09:20:16 PST
(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.
Andrey Kosyakov
Comment 5
2011-12-01 09:20:45 PST
Created
attachment 117435
[details]
Patch
Andrey Kosyakov
Comment 6
2011-12-02 01:06:53 PST
Committed
r101760
: <
http://trac.webkit.org/changeset/101760
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug