Closed
Bug 41907
Opened 25 years ago
Closed 21 years ago
[FIXr]Eliminate extra CheckLoadURI function in nsXMLElement.cpp
Categories
(Core :: XML, defect, P3)
Core
XML
Tracking
()
RESOLVED
FIXED
mozilla1.7beta
People
(Reporter: hjtoi-bugzilla, Assigned: bzbarsky)
Details
(Keywords: perf)
Attachments
(1 file)
12.29 KB,
patch
|
jst
:
review+
jst
:
superreview+
|
Details | Diff | Splinter Review |
We call mInner.TriggerLink() which will CheckLoadURI as well. The problem is
that TriggerLink() does not return any information about failed CheckLoadURI.
Reporter | ||
Comment 1•25 years ago
|
||
This is a performance issue, albeit a minor one. This happens only when an XLink
is clicked. The user is prepared to wait a little while (not that this one check
causes any visible delay to the user).
This is also a code cleanup task to remove duplicate code.
Status: NEW → ASSIGNED
Keywords: perf
Reporter | ||
Updated•25 years ago
|
Target Milestone: --- → Future
Reporter | ||
Updated•24 years ago
|
Target Milestone: Future → mozilla0.9
Reporter | ||
Comment 2•24 years ago
|
||
This isn't that important yet...
Target Milestone: mozilla0.9 → Future
Updated•22 years ago
|
QA Contact: petersen → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → ashishbhatt
![]() |
Assignee | |
Comment 3•21 years ago
|
||
This could be eliminated immediately if this check were not using the
DISALLOW_FROM_MAIL flag. We only need that for auto xlinks, and perhaps the
right thing to do is to change TriggerLink to take a boolean for whether the
triggering is automatic or not (and then pass true for things like auto xlinks).
![]() |
Assignee | |
Comment 4•21 years ago
|
||
![]() |
Assignee | |
Updated•21 years ago
|
Attachment #141374 -
Flags: superreview?(jst)
Attachment #141374 -
Flags: review?(jst)
![]() |
Assignee | |
Comment 5•21 years ago
|
||
Hmm.. maybe we want to push the security check down into the webshell (inside
OnLinkClickSync)? That way form submission could use this too (for forms
submitted via submit() or something). On the other hand, anyone running JS in
email already has issues....
Comment 6•21 years ago
|
||
Comment on attachment 141374 [details] [diff] [review]
Somewhat like this, perhaps?
Seems reasonable, r+sr=jst for this, even if we'd decide to move this check
elsewhere.
Attachment #141374 -
Flags: superreview?(jst)
Attachment #141374 -
Flags: superreview+
Attachment #141374 -
Flags: review?(jst)
Attachment #141374 -
Flags: review+
![]() |
Assignee | |
Comment 7•21 years ago
|
||
I'll file a followup bug for any further changes -- they need a good bit of
thought...
Assignee: hjtoi-bugzilla → bzbarsky
Status: ASSIGNED → NEW
Summary: Eliminate extra CheckLoadURI function in nsXMLElement.cpp → [FIXr]Eliminate extra CheckLoadURI function in nsXMLElement.cpp
Target Milestone: Future → mozilla1.7beta
![]() |
Assignee | |
Comment 8•21 years ago
|
||
Fix checked in for 1.7b
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•