Re: [whatwg] Cryptographically strong random numbers

2011-02-14 Thread Mike Shaver
On Fri, Feb 11, 2011 at 1:36 PM, Adam Barth w...@adambarth.com wrote: Regardless, the ability does not exist in JavaScriptCore.  If you'd like to contribute a patch that makes it possible, I'm sure it would be warmly received. That is surprising to me. Isn't it necessary in order to implement

Re: [whatwg] Canvas API: What should happen if non-finite floats are used

2010-09-08 Thread Mike Shaver
On Wed, Sep 8, 2010 at 10:33 AM, Oliver Hunt oli...@apple.com wrote: In a lot of cases all you want to do is ignore NaN and Infinite values, otherwise you basically have to prepend every call to canvas with NaN and Infinity checks if you're computing values unless you can absolutely

Re: [whatwg] Adding ECMAScript 5 array extras to HTMLCollection

2010-07-30 Thread Mike Shaver
On Fri, Jul 30, 2010 at 12:43 AM, Oliver Hunt oli...@apple.com wrote: The various html collections aren't fixed length, they're not assignable, so they can't used interchangeably with arrays at the best of times. Array generics work on arrays that aren't fixed-length, perhaps obviously, and I

Re: [whatwg] Please disallow javascript: URLs in browser address bars

2010-07-22 Thread Mike Shaver
On Thu, Jul 22, 2010 at 4:48 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: These days, though, all major browsers have javascript consoles which you can bring up and paste that into. That doesn't typically apply to content tabs or windows, though. I have a couple of questions: What is the

Re: [whatwg] Please disallow javascript: URLs in browser address bars

2010-07-22 Thread Mike Shaver
On Thu, Jul 22, 2010 at 5:32 PM, Luke Hutchison luke.hu...@mit.edu wrote: On Thu, Jul 22, 2010 at 5:03 PM, Mike Shaver mike.sha...@gmail.com wrote: What is the proposed change to which specification, exactly?  URL-bar behaviour, especially input permission, seem out of scope for the specs

Re: [whatwg] video application/octet-stream

2010-07-21 Thread Mike Shaver
On Wed, Jul 21, 2010 at 9:10 AM, Nils Dagsson Moskopp nils-dagsson-mosk...@dieweltistgarnichtso.net wrote: (clients try to guess based on incorrect information and you end up with stupid switches). Could you be more specific about the incorrect information? My understanding, from this thread

Re: [whatwg] video application/octet-stream

2010-07-21 Thread Mike Shaver
On Wed, Jul 21, 2010 at 9:43 AM, Nils Dagsson Moskopp nils-dagsson-mosk...@dieweltistgarnichtso.net wrote: Mike Shaver mike.sha...@gmail.com schrieb am Wed, 21 Jul 2010 09:15:18 -0400: and furthermore that the appropriate MIME type for ogg-with-VP8 vs ogg-with-theora isn't clear (or possibly

Re: [whatwg] video application/octet-stream

2010-07-21 Thread Mike Shaver
On Wed, Jul 21, 2010 at 9:46 AM, Chris Double chris.dou...@double.co.nz wrote: How much data are you willing to sniff to find out if the Ogg file contains Theora and/or Vorbis? You have to read the header packets contained within the Ogg file to get this. A few kilobytes certainly seems

Re: [whatwg] video application/octet-stream

2010-07-21 Thread Mike Shaver
On Wed, Jul 21, 2010 at 9:51 AM, Philip Jägenstedt phil...@opera.com wrote: On Wed, 21 Jul 2010 15:15:18 +0200, Mike Shaver mike.sha...@gmail.com wrote: Could you be more specific about the incorrect information?  My understanding, from this thread and elsewhere, is that video formats

Re: [whatwg] video application/octet-stream

2010-07-21 Thread Mike Shaver
On Wed, Jul 21, 2010 at 10:04 AM, Philip Jägenstedt phil...@opera.com wrote: Right, sniffing is currently only done in the context of video, at least in Opera. The problem could be fixed by adding more sniffing, certainly. A warning that you're about to open a 5MB text document might be humane

Re: [whatwg] video application/octet-stream

2010-07-21 Thread Mike Shaver
On Wed, Jul 21, 2010 at 10:07 AM, Chris Double chris.dou...@double.co.nz wrote: When content sniffing are we ignoring the mime type served by the server and always sniffing? If so then incorrectly configured servers can result in more downloaded data due to having to read the data looking for

Re: [whatwg] video application/octet-stream

2010-07-21 Thread Mike Shaver
On Wed, Jul 21, 2010 at 10:24 AM, Chris Double chris.dou...@double.co.nz wrote: On Thu, Jul 22, 2010 at 2:15 AM, Mike Shaver mike.sha...@gmail.com wrote: ...I would probably suggest that the developers of said browser implement basic Ogg support (enough to say this is Ogg, so we don't support

Re: [whatwg] Allowing in attribute values

2010-06-25 Thread Mike Shaver
One advantage is almost the same as your footnote: JavaScript source is permitted in the values of many attributes, and can certainly contain the operator. On Jun 25, 2010 12:34 PM, Benjamin M. Schwartz bmsch...@fas.harvard.edu wrote: On 06/25/2010 11:50 AM, Boris Zbarsky wrote: It seems like

Re: [whatwg] input type=location proposals

2010-06-25 Thread Mike Shaver
On Thu, Jun 24, 2010 at 5:55 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: I think it's quite a fringe case. What about things that are more used: type=number - a browser could aid input with some sort of spinner type=price - a browser could use the locale to select a monetary format,

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Mike Shaver
On Fri, Jun 25, 2010 at 9:11 AM, Tab Atkins Jr. jackalm...@gmail.com wrote: The WHATWG has a steering council made up of browser developers. Officially, they can override Ian's decisions or make him step down as editor.  They've never had to exercise this power yet, though. Could you elaborate

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Mike Shaver
On Fri, Jun 25, 2010 at 1:51 PM, Ian Hickson i...@hixie.ch wrote: I value technical merit even higher than convergence. How is technical merit assessed? Removing Theora from the specification, for example, seems like it was for political rather than technical reasons, if I understand how you

Re: [whatwg] input type=location proposals

2010-06-25 Thread Mike Shaver
On Fri, Jun 25, 2010 at 2:45 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 17:09 -0400, Aryeh Gregor wrote: type=number has been in the spec for years. Do you have a link to this to verify? http://dev.w3.org/html5/markup/input.number.html is the fourth hit for

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Mike Shaver
On Fri, Jun 25, 2010 at 3:00 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: Bottom of the charter: http://www.whatwg.org/charter I believe the decision process is knife fight to first blood. Editors should reflect the consensus opinion of the working group when writing their specifications,

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Mike Shaver
On Fri, Jun 25, 2010 at 3:07 PM, Tab Atkins Jr. jackalm...@gmail.com wrote:  How can one learn of the technical motivations of decisions such as the change to require ImageData for Canvas, On the WHATWG wiki a Rationale page is being assembled by a volunteer (don't know their name, but they

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Mike Shaver
On Fri, Jun 25, 2010 at 3:09 PM, Tab Atkins Jr. jackalm...@gmail.com wrote: I wasn't precise in my language - don't read too much into my exact wording. No, certainly; I'm much more interested in the spirit here than the wording, since it doesn't match my experience or understanding. I'll take

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Mike Shaver
On Fri, Jun 25, 2010 at 3:30 PM, Aryeh Gregor simetrical+...@gmail.com wrote: I'm pretty sure they won't be.  Any significant implementer has always had veto power over the spec. I fear that simply refusing to implement is indeed the WHATWG's equivalent of how Tab described FO-threats in the

Re: [whatwg] Technical Parity with W3C HTML Spec

2010-06-25 Thread Mike Shaver
On Fri, Jun 25, 2010 at 6:50 PM, Robert O'Callahan rob...@ocallahan.org wrote: Who from Mozilla objected? I didn't object, because I thought Ian's approach (manifests) was better than ours (JAR files). And I thought ours was quite different from Gears' (which used manifests, IIRC). There were

Re: [whatwg] input type=upload (not just files) proposal

2010-06-08 Thread Mike Shaver
On Tue, Jun 8, 2010 at 10:47 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: On Tue, 2010-06-08 at 10:37 -0400, Simpson, Grant Leyton wrote: Are you wanting the user to manually enter the filename, including the file:// scheme? If not, are you envisioning the file dialog box to provide

Re: [whatwg] input type=upload (not just files) proposal

2010-06-08 Thread Mike Shaver
On Tue, Jun 8, 2010 at 11:02 AM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: Yes, and the rest of my email said that. Sorry, I am not familiar with KIO, and didn't see the need for OS support. KIO slaves on KDE work just like that. It's not something that I think a user agent can

Re: [whatwg] WebSockets: what to do when there are too many open connections

2010-05-27 Thread Mike Shaver
On Thu, May 27, 2010 at 11:45 AM, John Tamplin j...@google.com wrote: On Thu, May 27, 2010 at 10:28 AM, Simon Pieters sim...@opera.com wrote: From our testing it seems that Vista has a limit of 1398 open sockets. Apparently Ubuntu has a limit of 1024 file descriptors per process. On Linux,

Re: [whatwg] WebSockets: what to do when there are too many open connections

2010-05-13 Thread Mike Shaver
On Thu, May 13, 2010 at 1:19 PM, Perry Smith pedz...@gmail.com wrote: Hosts have limits on open file descriptors but they are usually in the ten's of thousands (per process) on today's OSs. I have to admit, I'd be a little surprised (I think pleasantly, but maybe not) if I could open ten

Re: [whatwg] Offscreen canvas (or canvas for web workers).

2010-03-22 Thread Mike Shaver
On Mon, Mar 15, 2010 at 3:05 AM, Maciej Stachowiak m...@apple.com wrote: === Summary of Data === 1) In all browsers tested, copying to an ImageData and then back to a canvas (two blits) is faster than a 2x scale. 2) In all browsers tested, twice the cost of a canvas-to-canvas blit is

Re: [whatwg] Storage quota introspection and modification

2010-03-11 Thread Mike Shaver
2010/3/11 Ian Fette (イアンフェッティ) ife...@google.com: I think apps will have to deal with hitting quota as you describe, however with a normal desktop app you usually have a giant disk relative to what the user actually needs. When we're talking about shipping something with a 5mb or 50mb default

Re: [whatwg] Storage quota introspection and modification

2010-03-11 Thread Mike Shaver
2010/3/11 Ian Fette (イアンフェッティ) ife...@google.com: AFAIK most browsers are setting a default quota for storage options that is on the order of megabytes. Could well be, indeed. It sounded like you'd done some thinking about the size, and I was curious about how you came up with that number

Re: [whatwg] Storage quota introspection and modification

2010-03-10 Thread Mike Shaver
2010/3/10 Ian Fette (イアンフェッティ) ife...@google.com: As I talk with more application developers (both within Google and at large), one thing that consistently gets pointed out to me as a problem is the notion of the opaqueness of storage quotas in all of the new storage mechanisms (Local Storage,

Re: [whatwg] localStorage mutex - a solution?

2009-11-25 Thread Mike Shaver
On Wed, Nov 25, 2009 at 6:20 AM, Ian Hickson i...@hixie.ch wrote: Reading or writing a property on a native object doesn't do it, so   window['x'].document.forms['y'].value = 'foo'; ...doesn't release the mutex, though this (identical code) would:  

Re: [whatwg] localStorage mutex - a solution?

2009-11-24 Thread Mike Shaver
On Tue, Nov 24, 2009 at 6:12 PM, Rob Ennals rob.enn...@gmail.com wrote: If you run your browser in super-warnings-enabled mode then you could have it warn you if you did anything remotely suspect between calls to localStorage (e.g. calling a function defined by an external javascript file or

Re: [whatwg] localStorage mutex - a solution?

2009-11-04 Thread Mike Shaver
On Wed, Nov 4, 2009 at 5:13 PM, Rob Ennals rob.enn...@gmail.com wrote: How about this for a solution for the localStorage mutex problem: the user agent MAY release the storage mutex on *any* API operation except localStorage itself This guarantees that the common case of several storage

Re: [whatwg] localStorage mutex - a solution?

2009-11-04 Thread Mike Shaver
On Wed, Nov 4, 2009 at 5:51 PM, Rob Ennals rob.enn...@gmail.com wrote: Or to put it another way: if the thread can't call an API then it can't block waiting for another storage mutex, thus deadlock can't occur, thus we don't need to release the storage mutex. Right, but the spec text there

Re: [whatwg] Application defined locks

2009-09-11 Thread Mike Shaver
concerns with Database, but they are higher-level and therefore likely less compelling to its advocates. :-) ) Mike On 9/11/09, Aaron Boodman a...@google.com wrote: On Fri, Sep 11, 2009 at 6:45 AM, Mike Shaver mike.sha...@gmail.com wrote: I'm especially concerned to hear you say that DB is basically

Re: [whatwg] Global Script proposal.

2009-09-03 Thread Mike Shaver
On Thu, Sep 3, 2009 at 7:30 AM, Ian Hicksoni...@hixie.ch wrote: On Mon, 31 Aug 2009, Mike Shaver wrote: The multiple server-side processes that end up involved over the course of the user's interaction do need to share state with each other, and preserving blocking semantics for accessing

Re: [whatwg] Web Storage: apparent contradiction in spec

2009-08-31 Thread Mike Shaver
On Mon, Aug 31, 2009 at 6:11 AM, Ian Hicksoni...@hixie.ch wrote: We can't treat cookies and persistent storage differently, because otherwise we'll expose users to cookie resurrection attacks. Maintaining the user's expectations of privacy is critical. By that reasoning we can't treat cookies

Re: [whatwg] Global Script proposal.

2009-08-31 Thread Mike Shaver
On Sat, Aug 29, 2009 at 5:40 PM, Ian Hicksoni...@hixie.ch wrote: Furthermore, consider performance going forward. CPUs have pretty much gotten as fast as they're getting -- all further progress is going to be in making multithreaded applications that use as many CPUs as possible. We should

Re: [whatwg] Storage mutex

2009-08-29 Thread Mike Shaver
On Fri, Aug 28, 2009 at 3:36 PM, Jeremy Orlowjor...@chromium.org wrote: Can a plugin ever call into a script while a script is running besides when the script is making a synchronous call to the plugin?  If so, that worries me since it'd be a way for the script to lose its lock at _any_ time.

Re: [whatwg] Text areas with pattern attributes?

2009-08-29 Thread Mike Shaver
On Sat, Aug 29, 2009 at 9:44 PM, Ian Hicksoni...@hixie.ch wrote: On Wed, 19 Aug 2009, Mike Shaver wrote: It's also pretty common to enter multiple email addresses or tracking numbers or URLs one-per-line for batch operations on sites, and they would benefit from having client-side validation

Re: [whatwg] Storage mutex

2009-08-28 Thread Mike Shaver
On Tue, Aug 25, 2009 at 10:36 PM, Jeremy Orlowjor...@chromium.org wrote: On Tue, Aug 25, 2009 at 10:28 PM, Robert O'Callahan rob...@ocallahan.org wrote: On Tue, Aug 25, 2009 at 11:51 AM, Jeremy Orlow jor...@chromium.org wrote: To me, getStorageUpdates seems to imply that updates have

Re: [whatwg] Web Storage: apparent contradiction in spec

2009-08-27 Thread Mike Shaver
On Wed, Aug 26, 2009 at 8:23 PM, Linus Upsonli...@google.com wrote: The candidate delete list will be thousands long and hidden in that haystack will be a few precious needles. While that is certainly one of the outcomes, and I agree a bad one, I am not sure that the user experience needs to

Re: [whatwg] Text areas with pattern attributes?

2009-08-19 Thread Mike Shaver
On Wed, Aug 19, 2009 at 2:38 PM, Jonas Sickingjo...@sicking.cc wrote: So for the pattern attribute, a use case would be on a site that accepts US addresses (for example a store that only ships within the US), the site could use a textarea together with a pattern that matches US addresses.

Re: [whatwg] SharedWorkers and the name parameter

2009-08-17 Thread Mike Shaver
On Sat, Aug 15, 2009 at 8:29 PM, Jim Jewettjimjjew...@gmail.com wrote: Currently, SharedWorkers accept both a url parameter and a name parameter - the purpose is to let pages run multiple SharedWorkers using the same script resource without having to load separate resources from the server.

Re: [whatwg] Dates BCE

2009-07-30 Thread Mike Shaver
Can the historical-timeline community perhaps work with a microformat for such things, so that we can standardize on the basis of experience using the technology in the field, rather than on speculative uses? Mike

Re: [whatwg] Make quoted attributes a conformance criterion

2009-07-26 Thread Mike Shaver
On Sun, Jul 26, 2009 at 5:10 AM, Keryx Webwebmas...@keryx.se wrote: Mike, I know what you are doing at Mozilla, and have a ton of respect for you. But I fail to see how you could misunderstand my analogy to JSLint. Or do you suggest that Doug Crockford should drop manual semi-colon insertion

Re: [whatwg] Make quoted attributes a conformance criterion

2009-07-26 Thread Mike Shaver
On Sun, Jul 26, 2009 at 5:15 AM, Keryx Webwebmas...@keryx.se wrote: My analogy was simply this: Just like it makes sense for a JavaScript lint tool to enforce semi-colons, it makes sense for an HTML conformance checker to enforce quotation marks. A lint tool is not a conformance checker. Your

Re: [whatwg] Make quoted attributes a conformance criterion

2009-07-25 Thread Mike Shaver
On Sat, Jul 25, 2009 at 5:47 AM, Keryx Webwebmas...@keryx.se wrote: I think my suggestion is totally analogous to e.g. semi-colon insertion in ECMAScript. JSLint demands that those should be present, and I've yet to hear anyone say it's a matter of style. Omitting semi-colons is a known cause

Re: [whatwg] Codecs for video and audio

2009-07-14 Thread Mike Shaver
On Tue, Jul 7, 2009 at 5:09 PM, Ian Hicksoni...@hixie.ch wrote: We've narrowed codecs down to two. The spec could say that UA which supports video MUST implement at least one of Theora or H.264. All vendors can comply with that, and that's better than not specifying any codecs at all (e.g.

Re: [whatwg] Codecs for video and audio

2009-07-14 Thread Mike Shaver
On Tue, Jul 14, 2009 at 2:19 PM, Peter Kastingpkast...@google.com wrote: It makes sense if you think about it -- whether YouTube sends videos encoded as H.264 is irrelevant to what the _baseline_ codec for video needs to be, it is only relevant as additional info for vendors deciding whether to

Re: [whatwg] Codecs for audio and video

2009-06-30 Thread Mike Shaver
On Tue, Jun 30, 2009 at 12:50 AM, Ian Hicksoni...@hixie.ch wrote: Finally, what is Google/YouTube's official position on this? As I understand it, based on other posts to this mailing list in recent days: Google ships both H.264 and Theora support in Chrome; YouTube only supports H.264, and

Re: [whatwg] Codecs for audio and video

2009-06-30 Thread Mike Shaver
On Tue, Jun 30, 2009 at 10:43 AM, Gregory Maxwellgmaxw...@gmail.com wrote: No one has bothered porting Theora to the TMS320c64x DSP embedded in the OMAP3 CPU used in this handheld device is an obviously surmountable problem. Unless I'm mistaken about the DSP in question, that work is in fact

Re: [whatwg] H.264-in-video vs plugin APIs

2009-06-13 Thread Mike Shaver
On Sat, Jun 13, 2009 at 8:00 AM, Chris DiBonacdib...@gmail.com wrote: Comparing Daily Motion to Youtube is disingenuous. Much less so than comparing promotion of H.264-in-video via Google's sites and client to support for legacy proprietary content via plugin APIs, I would say. But also, I

Re: [whatwg] H.264-in-video vs plugin APIs

2009-06-13 Thread Mike Shaver
On Sat, Jun 13, 2009 at 9:37 AM, Chris DiBonacdib...@gmail.com wrote: I tried funding dirac a while back, to some good end, and we provide students, but here's the challenge: Can theora move forward without infringing on the other video compression patents? We certainly believe so, but I'm

Re: [whatwg] H.264-in-video vs plugin APIs

2009-06-13 Thread Mike Shaver
On Sat, Jun 13, 2009 at 10:08 AM, Chris DiBonacdib...@gmail.com wrote: No, but it is what I worry about. How agressive will mpeg.la be in their interpretation of the direction that theora is going? I don't think that is a reason to stop the current development direction (or the funding of it)

Re: [whatwg] H.264-in-video vs plugin APIs

2009-06-13 Thread Mike Shaver
On Sat, Jun 13, 2009 at 8:00 AM, Chris DiBonacdib...@gmail.com wrote: actually shipping with Theora (also on android, too) I was looking for a reference to this, but haven't found anything yet. http://developer.android.com/guide/appendix/media-formats.html lists Vorbis, but not Theora, and I

Re: [whatwg] H.264-in-video vs plugin APIs

2009-06-13 Thread Mike Shaver
On Sat, Jun 13, 2009 at 10:39 AM, Chris DiBonacdib...@gmail.com wrote: Let me ask David Sparks and see where it went, I remember we had it in the inital drops, or thought we did. That'd be great -- all I can find reference to is Vorbis, as used for the ringtones and system sounds (righteous!)

Re: [whatwg] H.264-in-video vs plugin APIs

2009-06-13 Thread Mike Shaver
On Sat, Jun 13, 2009 at 11:25 AM, Chris DiBonacdib...@gmail.com wrote: It'll take a little while, I'm travelling a bit this month (brazil , new york, etc..) Yep, I'll reach out to the o3d guys directly as well, see if they have the source video for that clip. More than happy to do the

[whatwg] H.264-in-video vs plugin APIs

2009-06-12 Thread Mike Shaver
Apologies for the poor threading, I wasn't subscribed when the message here was sent. In http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2009-June/020237.html Chris DiBona wrote: The incredibly sucky outcome is that Chrome ships patent-encumbered open web features, just like Apple. That