Closed
Bug 1344976
Opened 8 years ago
Closed 6 years ago
Further remove xml:base usage in FeedWriter
Categories
(Firefox Graveyard :: RSS Discovery and Preview, enhancement, P3)
Firefox Graveyard
RSS Discovery and Preview
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: xidorn, Assigned: jkt)
References
Details
Attachments
(1 file)
It seems to me there isn't anything wrong happens with this removal as well.
Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
mozreview-review |
Comment on attachment 8844277 [details]
Bug 1344976 - Remove xml:base usage in FeedWriter.
https://reviewboard.mozilla.org/r/117796/#review119576
I'm not convinced this is righteous on its own. Some of the relevant code here lives in https://dxr.mozilla.org/mozilla-central/source/toolkit/components/feeds/FeedProcessor.js . There we're still processing xml:base, we just don't seem to use Node/Entry.base in a lot of cases, 'privately' resolving a lot of the URIs. Your code now ignores that property, but it's still being set in some cases.
There is also a test that this works correctly, and background in bug 436801 suggests that there were changes in xml:base behavior implemented there, too. Though, to be honest, looking at the test I doubt it actually verifies that the xml:base behavior is correct.
I don't know if we can remove support for xml:base from the feedprocessor code. If we can, we should do so. If we can't, we should presumably still remove the `.base` references in the toolkit code, taking care not to break the actual resolution of URLs in the process (which from a brief look doesn't seem to rely on those properties, but we should check).
Attachment #8844277 -
Flags: review?(gijskruitbosch+bugs) → review-
Updated•8 years ago
|
Assignee: nobody → xidorn+moz
Updated•7 years ago
|
Priority: -- → P3
Reporter | ||
Updated•6 years ago
|
Assignee: xidorn+moz → nobody
Assignee | ||
Comment 3•6 years ago
|
||
I'm going to add this to a patch in Bug 903372. I don't think there are any blockers in removing this now right?
Assignee: nobody → jkt
Flags: needinfo?(gijskruitbosch+bugs)
Assignee | ||
Comment 4•6 years ago
|
||
Actually it has been fully removed... closing
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(gijskruitbosch+bugs)
Resolution: --- → FIXED
Updated•6 years ago
|
Product: Firefox → Firefox Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•