Bug 25161 - Allow opting out of BOM behavior in the API
Summary: Allow opting out of BOM behavior in the API
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: Encoding (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+encodingspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-26 18:42 UTC by Anne
Modified: 2014-04-11 11:12 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anne 2014-03-26 18:42:56 UTC
We should add a flag to so you can opt out.

# boolean ignoreBOM = false;

The bikeshed is where to put it. TextDecoderOptions or TextDecodeOptions. I think the former given that's where we put error handling.