Closed Bug 474058 Opened 15 years ago Closed 14 years ago

Drop support for window.directories


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

Not set





(Reporter: ian, Assigned: Ms2ger)


(Keywords: dev-doc-complete)


(1 file, 3 obsolete files)

window.directories in Gecko returns the same [BarProp] object as window.personalbar. No other browser supports it. Unless support for this is needed, we should drop it. If support is needed, please let me know so I can add it to the spec.
Attached patch Fix (obsolete) — Splinter Review
Attachment #432351 - Flags: review?(bzbarsky)
Assignee: nobody → Ms2ger
OS: Mac OS X → All
Hardware: x86 → All
Version: unspecified → Trunk
Attached patch Fix with new uuid (obsolete) — Splinter Review
Attachment #432351 - Attachment is obsolete: true
Attachment #432352 - Flags: review?(bzbarsky)
Attachment #432351 - Flags: review?(bzbarsky)
Comment on attachment 432352 [details] [diff] [review]
Fix with new uuid

Stealing review. r=jst
Attachment #432352 - Flags: review?(bzbarsky) → review+
Keywords: checkin-needed
What about dom.disable_window_open_feature.directories?
(In reply to comment #4)
> What about dom.disable_window_open_feature.directories?

Something else entirely, it's related to Hixie actually wants to drop all support for the features argument, so I'd rather not spend time on it.

(Note: Used in <>.)
(In reply to comment #5)
> (In reply to comment #4)
> > What about dom.disable_window_open_feature.directories?
> Something else entirely, it's related to

So is window.directories, except that it exposes the state while the directories argument allows setting it. directories=... duplicates personalbar=... just like window.directories duplicates window.personalbar. Keeping both things in sync in seems only logical, regardless of any future plans to drop all feature arguments.
Fair enough.
Attachment #445103 - Flags: review?(jst)
Attachment #445103 - Flags: feedback?(dao)
Attachment #445103 - Flags: review?(jst) → review+
Whiteboard: [c-n:445103]
Whiteboard: [c-n:445103] → [c-n:432352,445103]
Comment on attachment 445103 [details] [diff] [review]
Remove argument to and pref

Don't think my feedback is needed here beyond what I said in my previous comment...
Attachment #445103 - Flags: feedback?(dao)
Merged to tip. r=jst.
Attachment #432352 - Attachment is obsolete: true
Attachment #445103 - Attachment is obsolete: true
Whiteboard: [c-n:432352,445103]
does not apply cleanly here, can you provide an updated patch please?
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.3a5
Keywords: dev-doc-needed used to say:

"directories: [...] in MSIE 5+, it renders the Links bar. [...] personalbar: Same as directories but only supported by Netscape and Mozilla-based browsers."

Was that incorrect?
You should not remove information from MDC as long as older browser versions are in use. People may use obsolete features or search for info why it doesn't work.
I propose:
Add an obsolete-inline template
Add an obsolete-header template,
mention the Gecko/Firefox version which dropped it,
recommend use of "window.personalbar" instead,
(perhaps link to this bug if you think it's helpful).
Apparently IE doesn't support any of the BarProp objects, but up to IE6, it did support the directories feature to (See also <>.) (WebKit seems to ignore the features, and support only the personalbar object. Opera seems to support neither the features nor any BarProp objects.)

Made changes to
Flags: in-testsuite-
You need to log in before you can comment on or make changes to this bug.