Closed
Bug 862917
Opened 12 years ago
Closed 12 years ago
Remove window.defaultStatus
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: Gavin, Assigned: bzbarsky)
References
Details
(Keywords: dev-doc-complete, site-compat)
Attachments
(1 file, 1 obsolete file)
8.74 KB,
patch
|
smaug
:
review+
Gavin
:
review+
|
Details | Diff | Splinter Review |
Setting them has had no effect in Firefox since the aviary days (dom.disable_window_status_change has been true). Recently, the Firefox UI dropped support for enabling that pref (bug 842017).
These attributes aren't specified in HTML5, so we should just completely remove support for the feature from the DOM (and simplify the relevant nsIWebBrowserChrome2/nsIXULBrowserWindow APIs and client implementations).
Comment 1•12 years ago
|
||
I'd rather just make these no-ops. window.status has been mentioned in many docs, so removing would
probably lead to some obscure problem in some page.
Reporter | ||
Comment 2•12 years ago
|
||
What kind of compat problems do you foresee? Since it's just a simple property I'm not really sure what kind of issues removing it could cause. Unqualified references to "status"?
Reporter | ||
Comment 3•12 years ago
|
||
Oh, I was wrong about window.status not being specced:
http://www.whatwg.org/specs/web-apps/current-work/multipage/browsers.html#dom-window-status
That seems like a fine compromise.
Summary: drop support for window.status/window.defaultStatus → drop support for setting window.status, completely remove window.defaultStatus
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #738895 -
Flags: review?(gavin.sharp)
Attachment #738895 -
Flags: review?(bugs)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → bzbarsky
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #738897 -
Flags: review?(gavin.sharp)
Attachment #738897 -
Flags: review?(bugs)
Assignee | ||
Updated•12 years ago
|
Attachment #738895 -
Attachment is obsolete: true
Attachment #738895 -
Flags: review?(gavin.sharp)
Attachment #738895 -
Flags: review?(bugs)
Assignee | ||
Comment 6•12 years ago
|
||
I didn't change the guts of .status because there are Gecko-based apps that in fact have UI for it... The decision to drop it should probably have somewhat more public input than this bug.
Summary: drop support for setting window.status, completely remove window.defaultStatus → Remove window.defaultStatus
Whiteboard: [need review]
Comment 7•12 years ago
|
||
Comment on attachment 738897 [details] [diff] [review]
Remove the non-standard window.defaultStatus.
Tiny bit scary. I guess we can try and put back dummy .defaultStatus if
there are problems.
Attachment #738897 -
Flags: review?(bugs) → review+
Reporter | ||
Updated•12 years ago
|
Attachment #738897 -
Flags: review?(gavin.sharp) → review+
Reporter | ||
Comment 8•12 years ago
|
||
(In reply to Boris Zbarsky (:bz) from comment #6)
> I didn't change the guts of .status because there are Gecko-based apps that
> in fact have UI for it... The decision to drop it should probably have
> somewhat more public input than this bug.
What apps? We can CC a SeaMonkey representative to a bug, I don't see this needing much more input than that given the state of the feature.
Reporter | ||
Comment 9•12 years ago
|
||
Now I filed bug 863339 :) I'll propose a patch on top of these ones.
Assignee | ||
Comment 10•12 years ago
|
||
SeaMonkey was the obvious one, yes.
Assignee | ||
Comment 11•12 years ago
|
||
Whiteboard: [need review]
Target Milestone: --- → mozilla23
Comment 12•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Keywords: dev-doc-needed
Comment 13•12 years ago
|
||
I've added this bug to the compatibility doc. Please correct the info if wrong.
https://developer.mozilla.org/en-US/docs/Site_Compatibility_for_Firefox_23
Comment 14•12 years ago
|
||
https://developer.mozilla.org/en-US/docs/Web/API/window
https://developer.mozilla.org/en-US/docs/Web/API/window.defaultStatus
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•