This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22691 - Remove ByteString from WebIDL
Summary: Remove ByteString from WebIDL
Status: RESOLVED WONTFIX
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-16 06:23 UTC by Norbert Lindenberg
Modified: 2014-01-27 17:19 UTC (History)
4 users (show)

See Also:


Attachments

Description Norbert Lindenberg 2013-07-16 06:23:47 UTC
The ByteString interface was added to Web IDL in order to make it easier to explain legacy behavior in XMLHttpRequest. I'd like to ask that it be removed because this legacy behavior is not a good model for new APIs, but having ByteString in Web IDL may lead API designers to adopt this model. The legacy behavior in XMLHttpRequest can be explained in the XMLHttpRequest specification.

This topic is being discussed on this thread:
http://lists.w3.org/Archives/Public/public-script-coord/2013JulSep/thread.html#msg56
Comment 1 Anne 2013-07-16 15:57:58 UTC
I'm opposed to this as should be clear from reading the thread.
Comment 2 Cameron McCormack 2014-01-27 17:19:08 UTC
After reading the thread, I think it's sufficient that there is a warning in the spec not to use ByteString unless there are clear reasons for doing so over DOMString.