Closed Bug 232506 Opened 21 years ago Closed 20 years ago

Accept: Add XUL support

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
minor

Tracking

()

VERIFIED WONTFIX

People

(Reporter: pierre.thierry, Assigned: darin.moz)

References

()

Details

User-Agent:       
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3

When a web server supporting content negotiation provides an (X)HTML page and an
equivalent XUL document, as XUL is far more convenient for it's purpose, user
interface, than HTML is, Mozilla should use the XUL document.

So application/vnd.mozilla.xul+xml should be included in the Accept header.

Reproducible: Always
Steps to Reproduce:
1. Go to a URL providing transparent content negotiation with a XUL and an HTML
alternatives
Actual Results:  
The HTML one is received from server

Expected Results:  
The XUL one should be received from server
The reason we didn't do this in the past is that there are so many
XUL-supporting browsers out there (Netscape 7, all previous versions of Mozilla
and Mozilla Firebird, Beonex etc.) that if we put it in and people started using
it, a lot of browsers would get unfairly excluded.

That argument gets more true the longer we don't have it in there.

Gerv
*** Bug 241427 has been marked as a duplicate of this bug. ***
Well, longer you will waiting for correcting this, harder it will be possible.
And when Microsoft will start promoting XAML, Moz will be out.

For creating virtual listing, web applications,.... we should have possibility
onto the server-side to know if we can switch in xul with another method than
guessing, or any ugly manners. Just think about websites using flash...

After that, rewriting by example virtual listing extension for apache will be
faster, more user-friendly and more convincing for moz.
XAML has nothing to do with this. Accept: as content negotiation header, with
exhaustive list of MIME types supported, is a complete failure.  We should not
bloat our Accept: headers to include XUL's vendor MIME type.

/be
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WONTFIX
V/WONTFIX
Status: RESOLVED → VERIFIED
OS: Linux → All
Hardware: PC → All
Summary: Add XUL in Accept header → Accept: Add XUL support
And if, in a near future, another rendering motor like KHTML or Opera, will
accept XUL ? How to be sure ? guessing via user-agent or by a javascript
response is, imho, too much dirty method.

or creating a shorter type mime for .xul ?
You need to log in before you can comment on or make changes to this bug.