Closed Bug 839912 Opened 13 years ago Closed 13 years ago

Implement URLUtils interface

Categories

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

defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: Ms2ger, Assigned: ehsan.akhgari)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete)

Attachments

(1 file)

http://html5.org/tools/web-apps-tracker?from=7709&to=7710 We should probably add a URLUtils interface that's just [NoInterfaceObject] interface URLUtils { attribute DOMString protocol; attribute DOMString host; attribute DOMString hostname; attribute DOMString port; attribute DOMString pathname; attribute DOMString search; attribute DOMString hash; }; and make HTMLAreaElement/HTMLAnchorElement/HTMLLinkElement implement it. The new features in <http://url.spec.whatwg.org/#urlutils> can come later.
Attached patch Patch (v1)Splinter Review
Assignee: nobody → ehsan
Status: NEW → ASSIGNED
Attachment #715337 - Flags: review?(Ms2ger)
I'm thinking we want this for HTMLLinkElement too
Attachment #715337 - Flags: review?(Ms2ger)
(In reply to comment #2) > I'm thinking we want this for HTMLLinkElement too Why? The spec doesn't use URLUtils: <http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#the-link-element>
Attachment #715337 - Flags: review?(Ms2ger)
Review ping?
Comment on attachment 715337 [details] [diff] [review] Patch (v1) Review of attachment 715337 [details] [diff] [review]: ----------------------------------------------------------------- Er, yes, thanks.
Attachment #715337 - Flags: review?(Ms2ger) → review+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
This does not have a web-visible effect at this point.
Keywords: dev-doc-needed
Though without a web-visible effect, I created/updated the following docs to make them up-to-date (I call this opportunist documentation ;-) ): https://developer.mozilla.org/en-US/docs/Web/API/URLUtils (and subpages, except those not yet implemented) https://developer.mozilla.org/en-US/docs/Web/API/Location https://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement https://developer.mozilla.org/en-US/docs/Web/API/HTMLAreaElement
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: