Closed Bug 676049 Opened 13 years ago Closed 6 years ago

Using MozURL implementations for certain nsLocation APIs to reduce code duplication

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: hippopotamus.gong, Assigned: hippopotamus.gong)

References

Details

Attachments

(1 file)

The newly implemented MozURL (bug# 668680) share certain features with nsLocation, but is a more standalone class. As a result, nsLocation should use MozURL's implementations for those features.
Assignee: nobody → shawn
Hardware: x86 → All
Version: unspecified → Trunk
Blocks: 726779
Comment on attachment 550520 [details] [diff] [review]
Patch 1. Using MozURL code in nsLocation when available.

Punting this over to Ehsan since you are reviewing the URL API.

This stuff was written on request from bz, so feel free to ask him about how big the need for this stuff is.
Attachment #550520 - Flags: review?(jonas) → review?(ehsan)
Comment on attachment 550520 [details] [diff] [review]
Patch 1. Using MozURL code in nsLocation when available.

Review of attachment 550520 [details] [diff] [review]:
-----------------------------------------------------------------

What tree is this patch against?  We decided to implement the URL spec instead of this in bug 887364.  That work is now waiting for review, but if you want to work on this stuff right now, you can import those patches and use the dom/base/URL.h API here.
Attachment #550520 - Flags: review?(ehsan) → review-
I don't think this bug is applicable anymore.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: