Closed Bug 292357 Opened 20 years ago Closed 20 years ago

nsFrameLoader uses incorrect base URI

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.8beta2

People

(Reporter: Biesinger, Assigned: Biesinger)

References

()

Details

(Whiteboard: [good first bug])

Attachments

(2 files)

112   nsIURI *base_uri = doc->GetBaseURI();

Instead, that URI should be gotten off mOwnerContent directly, as each node can
have a different base.
(ie., mOwnerContent->GetBaseURI())
Whiteboard: [good first bug]
Attached patch patchSplinter Review
Assignee: nobody → cbiesinger
Status: NEW → ASSIGNED
Attachment #182209 - Flags: superreview?(bzbarsky)
Attachment #182209 - Flags: review?(bzbarsky)
Attachment #182209 - Flags: superreview?(bzbarsky)
Attachment #182209 - Flags: superreview+
Attachment #182209 - Flags: review?(bzbarsky)
Attachment #182209 - Flags: review+
Comment on attachment 182209 [details] [diff] [review]
patch

low risk patch to use the correct base URI for frames
Attachment #182209 - Flags: approval1.8b2?
Target Milestone: --- → mozilla1.8beta2
Comment on attachment 182209 [details] [diff] [review]
patch

a=asa
Attachment #182209 - Flags: approval1.8b2? → approval1.8b2+
Checking in content/base/public/nsIContent.h;
/cvsroot/mozilla/content/base/public/nsIContent.h,v  <--  nsIContent.h
new revision: 3.108; previous revision: 3.107
done
Checking in content/base/src/nsFrameLoader.cpp;
/cvsroot/mozilla/content/base/src/nsFrameLoader.cpp,v  <--  nsFrameLoader.cpp
new revision: 1.53; previous revision: 1.52
done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: