- From: Joshua Bell <notifications@github.com>
- Date: Tue, 02 Aug 2016 14:00:02 -0700
- To: w3c/FileAPI <FileAPI@noreply.github.com>
- Message-ID: <w3c/FileAPI/issues/46@github.com>
https://jsfiddle.net/422r7n3z/ - exercises `new Blob([s], {endings:e}).size` On Windows, in Chrome/Firefox: transparent + "abc\r\n" = 5 transparent + "abc\n" = 4 transparent + "abc\r" = 4 native + "abc\r\n" = 5 native + "abc\n" = 5 native + "abc\r" = 5 On Windows, in IE11: transparent + "abc\r\n" = 5 transparent + "abc\n" = 4 transparent + "abc\r" = 4 native + "abc\r\n" = 5 native + "abc\n" = 4 native + "abc\r" = 4 On OSX and Linux, in Chrome/Firefox/Safari: transparent + "abc\r\n" = 5 transparent + "abc\n" = 4 transparent + "abc\r" = 4 native + "abc\r\n" = 4 native + "abc\n" = 4 native + "abc\r" = 4 (I have not tested Opera or Edge; I assume those match Chrome and IE11) Note that all 4 browsers - _including IE which does not appear to respect the option otherwise_ - throw if an invalid option is passed as `endings`. I gathered usage stats in Chrome stable: https://www.chromestatus.com/metrics/feature/timeline/popularity/1320 - it's 0% to several significant figures (people running web-platform-tests would account for the absolute #s). Should we proceed with removing, or does anyone want to advocate for keeping it? @smaug----, @foolip, @aliams, .... ? --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/FileAPI/issues/46
Received on Tuesday, 2 August 2016 21:01:19 UTC