Re: [whatwg] Same-origin checking for media elements

2008-11-12 Thread Robert O'Callahan
://krijnhoetmer.nl/irc-logs/whatwg/2008 http://krijnhoetmer.nl/irc-logs/whatwg/20081112 Rob -- He was pierced for our transgressions, he was crushed for our iniquities; the punishment that brought us peace was upon him, and by his wounds we are healed. We all, like sheep, have gone astray, each

Re: [whatwg] Same-origin checking for media elements

2008-11-12 Thread Philip Jägenstedt
I don't quite see why one should betray the size of media data and not other data. Surely the existance and size of media files on an intranet could be sensitive information too, so a more general solution is needed in my opinion. Am I misunderstanding what is being suggested? Philip On Wed,

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Alexey Proskuryakov
Nov 4, 2008, в 10:08 AM, Aaron Boodman написал(а): * Add startConversation() to SharedWorker, but rename it connect() and make the onconnect event fire inside the worker each time it is called. What event do you suggest to dispatch in the worker when connect() is called? From the above,

Re: [whatwg] Issue when Video currentTime used for seeking.

2008-11-12 Thread Eric Carlson
On Nov 11, 2008, at 11:24 PM, Chris Double wrote: On Wed, Nov 12, 2008 at 6:36 PM, Biju [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: toKeyFrame - optional, boolean, default false. if true indicates goto the nearest keyframe of the value provided in secondsToSeek. this is to improve performance

[whatwg] Scoping elements and nested paragraphs

2008-11-12 Thread Tommy Thorsen
Consider the following markup: pobjectpX/p/p The html5 parsing algorithm produces the following tree: htmlhead/headbodypobjectpX/pp/p/object/p/body/html whereas Firefox and Opera both produce: htmlhead/headbodypobjectpX/p/object/p/body/html and IE produces:

Re: [whatwg] Handling title inside body

2008-11-12 Thread Garrett Smith
On Tue, Nov 11, 2008 at 11:21 PM, Ian Hickson [EMAIL PROTECTED] wrote: On Tue, 11 Nov 2008, Garrett Smith wrote: Unfortunately, we have little choice in the matter. Scripting and XML both allow you to unambiguously create highly non-conforming DOMs, e.g. with title elements as the root

Re: [whatwg] Same-origin checking for media elements

2008-11-12 Thread Jonas Sicking
Maciej Stachowiak wrote: On Nov 10, 2008, at 6:50 PM, Robert O'Callahan wrote: Should video and audio elements be able to load and play resources from other origins? Perhaps Ian thinks not: http://www.w3.org/Bugs/Public/show_bug.cgi?id=6104 There's a to-and-fro discussion here:

Re: [whatwg] Same-origin checking for media elements

2008-11-12 Thread Robert O'Callahan
On Wed, Nov 12, 2008 at 11:19 PM, Jonas Sicking [EMAIL PROTECTED] wrote: An additional, though rather minor problem, is that implementations will have to delay the loadstart event until it has confirmed that the targeted file is in fact a real video file, and has confirmed that with relatively

Re: [whatwg] Res: HTML5 - Server-Sent Events Implementation for Mozilla

2008-11-12 Thread Ian Hickson
On Wed, 22 Oct 2008, Wellington wrote: I've looked at the spec that you have updated, and I think it isn't clear enough in the text below if either the error should be ignored (and so don't stop processing the resource, retrying after the reconnection time) or if the resource should be

Re: [whatwg] Scoping elements and nested paragraphs

2008-11-12 Thread Darin Adler
On Nov 12, 2008, at 1:49 AM, Tommy Thorsen wrote: Consider the following markup: pobjectpX/p/p The html5 parsing algorithm produces the following tree: htmlhead/headbodypobjectpX/pp/p/object/p/ body/html whereas Firefox and Opera both produce:

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Aaron Boodman
2008/11/12 Alexey Proskuryakov [EMAIL PROTECTED]: Nov 4, 2008, в 10:08 AM, Aaron Boodman написал(а): * Add startConversation() to SharedWorker, but rename it connect() and make the onconnect event fire inside the worker each time it is called. What event do you suggest to dispatch in the

Re: [whatwg] Handling title inside body

2008-11-12 Thread Ian Hickson
On Wed, 12 Nov 2008, Garrett Smith wrote: A script that adds an HTML element to a INPUT element should cause an hierarchy exception to be raised. No, it shouldn't. DOM 1 seems to disagree with that. You are misreading DOM1 (the type of a node means text node vs element node, not

[whatwg] Questions on Workers spec

2008-11-12 Thread Dmitry Titov
Hi, I have couple of questions about Workers: 1. The sample code looks as if setTimeout/clearTimeout/setInterval/clearInterval should be available to Workers (as methods of WorkerUtils?) but they are not explicitly specified on any interface. Should they be there? 2. It seems workers should be

Re: [whatwg] Same-origin checking for media elements

2008-11-12 Thread Jonas Sicking
Tim Starling wrote: Robert O'Callahan wrote: Should video and audio elements be able to load and play resources from other origins? Perhaps Ian thinks not: http://www.w3.org/Bugs/Public/show_bug.cgi?id=6104 There's a to-and-fro discussion here:

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Alexey Proskuryakov
Nov 12, 2008, в 9:26 PM, Aaron Boodman написал(а): * Add startConversation() to SharedWorker, but rename it connect() and make the onconnect event fire inside the worker each time it is called. What event do you suggest to dispatch in the worker when connect() is called? I meant connect.

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Aaron Boodman
2008/11/12 Alexey Proskuryakov [EMAIL PROTECTED]: Well, that's what MessagePort.startConversation() sends, and the proposal only said that connect() is a renamed startConversation() from Worker (also, The postMessage() and startConversation() methods on Worker objects must act as if, when

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Alexey Proskuryakov
Nov 13, 2008, в 1:34 AM, Aaron Boodman написал(а): It doesn't make sense to me that startConversation() would dispatch a MessageEvent object with name message. If that's what the spec currently says, I think it should be changed. The startConversation(message) method is a convenience method

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Aaron Boodman
2008/11/12 Alexey Proskuryakov [EMAIL PROTECTED]: The startConversation(message) method is a convenience method that simplifies create a new MessageChannel and invokingpostMessage() with one of the new ports. - it doesn't do anything postMessage() couldn't do. Receivers are supposed to

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Alexey Proskuryakov
Nov 13, 2008, в 1:46 AM, Aaron Boodman написал(а): I feel that it probably is not productive to continue discussing details when there is disagreement on the large-scale shape of the API between myself, Jonas, and Hixie. This is a weird situation indeed, as Firefox seems to be about to ship

Re: [whatwg] Workers

2008-11-12 Thread Ian Hickson
(cc'ed whatwg -- sorry if that wasn't what you intended) On Wed, 27 Aug 2008, Michael Nordman wrote: I see... in that case, consider renaming the owner invoked worker.close() method to use a different verb than self.close()... worker.stop() or worker.terminate() or worker.kill() or

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Ian Hickson
On Wed, 12 Nov 2008, Aaron Boodman wrote: I feel that it probably is not productive to continue discussing details when there is disagreement on the large-scale shape of the API between myself, Jonas, and Hixie. My opinion on this detail, for example, probably varies depending on whether

Re: [whatwg] [WebForms2] custom form validation notifications

2008-11-12 Thread Eduard Pascual
On Wed, Nov 12, 2008 at 1:15 AM, Ian Hickson [EMAIL PROTECTED] wrote: On Thu, 23 Oct 2008, Eduard Pascual wrote: [...] I don't really follow. Neither do I, and I wrote that :S Re-reading the conversation, I'm not really sure if I really understood Joao's issue and proposal correctly; and

Re: [whatwg] Combining the DedicatedWorker and SharedWorker interfaces

2008-11-12 Thread Alexey Proskuryakov
Nov 13, 2008, в 3:37 AM, Ian Hickson написал(а): In general I think the startConversation() issue is a red herring. The method was added just as a convenience and isn't really needed. I can remove it if it would make the discussions simpler. As far as I'm concerned, there is no issue any