Closed
Bug 839912
Opened 13 years ago
Closed 13 years ago
Implement URLUtils interface
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla22
People
(Reporter: Ms2ger, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-complete)
Attachments
(1 file)
5.10 KB,
patch
|
Ms2ger
:
review+
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•13 years ago
|
||
Reporter | ||
Comment 2•13 years ago
|
||
I'm thinking we want this for HTMLLinkElement too
Reporter | ||
Updated•13 years ago
|
Attachment #715337 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 3•13 years ago
|
||
(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>
Assignee | ||
Updated•13 years ago
|
Attachment #715337 -
Flags: review?(Ms2ger)
Assignee | ||
Comment 4•13 years ago
|
||
Review ping?
Reporter | ||
Comment 5•13 years ago
|
||
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+
Assignee | ||
Comment 6•13 years ago
|
||
![]() |
||
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
Updated•13 years ago
|
Keywords: dev-doc-needed
Reporter | ||
Comment 8•13 years ago
|
||
This does not have a web-visible effect at this point.
Keywords: dev-doc-needed
Updated•12 years ago
|
Keywords: dev-doc-needed
Comment 9•12 years ago
|
||
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
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•