W3C home > Mailing lists > Public > public-webapps-bugzilla@w3.org > April 2012

[Bug 16733] Drop 'endings'?

From: <bugzilla@jessica.w3.org>
Date: Mon, 16 Apr 2012 14:28:51 +0000
To: public-webapps-bugzilla@w3.org
Message-Id: <E1SJmvD-0005Gd-ML@jessica.w3.org>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16733

--- Comment #11 from Glenn Maynard <glenn@zewt.org> 2012-04-16 14:28:47 UTC ---
Is the "navigator.platform.substr(0, 3) == 'Win'" test always correct?  It
gives the UA has no control over what newline style is considered "native".

For example, a phone may want to pretend it uses CRLF newlines as far as
user-visible files are concerned (regardless of what it uses internally), to
minimize problems when people mount their phone storage on USB and access files
from their desktop.

This would turn the "if Windows" check into a list that would always be out of
date: "Windows, iPhone, iPad, Android, ...".

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Monday, 16 April 2012 14:28:58 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 16 April 2012 14:29:00 GMT