[whatwg] HttpOnly cookie for WebSocket?

2010-01-28 Thread 鵜飼文敏
May/Should WebSocket use HttpOnly cookie while Handshaking? I think it would be useful to use HttpOnly cookie on WebSocket so that we could authenticate the WebSocket connection by the auth token cookie which might be HttpOnly for security reason.

Re: [whatwg] HttpOnly cookie for WebSocket?

2010-01-28 Thread Salvatore Loreto
Hi, a new IETF wg has been formed to take care of WebSocket protocol HyBi: http://tools.ietf.org/wg/hybi/charters So, this issue is something it should be discussed there (btw I am forwdard it to the HyBi ml) N.B. to subscribe to the HyBi ml: https://www.ietf.org/mailman/listinfo/hybi /Sal A

Re: [whatwg] HttpOnly cookie for WebSocket?

2010-01-28 Thread Ian Hickson
On Thu, 28 Jan 2010, Salvatore Loreto wrote: a new IETF wg has been formed to take care of WebSocket protocol HyBi: http://tools.ietf.org/wg/hybi/charters So, this issue is something it should be discussed there (btw I am forwdard it to the HyBi ml) N.B. to subscribe to the HyBi ml:

Re: [whatwg] HttpOnly cookie for WebSocket?

2010-01-28 Thread Wenbo Zhu
On Thu, Jan 28, 2010 at 12:12 AM, Fumitoshi Ukai (鵜飼文敏) u...@chromium.orgwrote: May/Should WebSocket use HttpOnly cookie while Handshaking? WebSocket is a stateful protocol, and its cookie support is only applicable in interacting with the HTTP context .. and therefore the spec should simply

Re: [whatwg] history.back()

2010-01-28 Thread Olli Pettay
On 1/28/10 7:15 AM, Darin Fisher wrote: That said, I think it would be good for location.hash = 'a' to interrupt the history.back() request. The net result being that #a is appended to session history, and the history.back() request is discarded. Really? What if iframe has been navigated

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Simon Fraser
On Jan 28, 2010, at 3:38 PM, Robert O'Callahan wrote: On Thu, Jan 28, 2010 at 8:34 PM, Henri Sivonen hsivo...@iki.fi wrote: I haven't seen a proposal, but it looks like code has landed: http://trac.webkit.org/changeset/50893 Demo: http://jilion.com/sublime/video (option-click the full

Re: [whatwg] history.back()

2010-01-28 Thread Ian Hickson
On Wed, 27 Jan 2010, Darin Fisher wrote: I think that location.hash = 'a' should synchronously add #a to the session history, or at least it should appear to the web page that it was added synchronously. [...] That said, I think it would be good for location.hash = 'a' to interrupt

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Robert O'Callahan
On Fri, Jan 29, 2010 at 12:51 PM, Simon Fraser s...@me.com wrote: We have been discussing a more general fullscreen API that lets you take the page fullscreen (perhaps with the ability to focus on a single element), as Maciej mentions. We have not decided on a final form for this API, nor

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Kit Grose
1) Should be convenient for authors to make any element in a page display fullscreen 2) Should support in-page activation UI for discoverability 3) Should support changing the layout of the element when you enter/exit fullscreen mode. For example, authors probably want some controls to be

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Boris Zbarsky
On 1/28/10 10:06 PM, Kit Grose wrote: 1) Should be convenient for authors to make any element in a page display fullscreen 2) Should support in-page activation UI for discoverability 3) Should support changing the layout of the element when you enter/exit fullscreen mode. For example, authors

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Kit Grose
Block-level in what sense? img is not block-level in any sense; One could argue that video and object are block-level in HTML terms, but it's context-dependent (they can contain blocks if their parent can). None of these are block-level in the CSS sense, by default. True, but surely

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Geoff Stearns
enterFullscreen always returns immediately. If fullscreen mode is currently supported and permitted, enterFullscreen dispatches a task that a) imposes the fullscreen style, b) fires the beginfullscreen event on the element and c) actually initiates fullscreen display of the element. The UA

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Robert O'Callahan
On Fri, Jan 29, 2010 at 4:06 PM, Kit Grose k...@iqmultimedia.com.au wrote: Regarding point 1, surely any fullscreen API should only support block-level elements? I don't see why. Setting position:fixed does what you want in the cases I can think of. If I'm reading point 2 correctly, I

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Ian Hickson
On Thu, 28 Jan 2010, Geoff Stearns wrote: I think it would suffice to simply show a dialog the first time a user wants to go fullscreen within a domain with an option to remember this choice for this domain. Users click through dialogs without looking, so that wouldn't work. -- Ian

Re: [whatwg] api for fullscreen()

2010-01-28 Thread Robert O'Callahan
On Fri, Jan 29, 2010 at 5:06 PM, Geoff Stearns tensafefr...@google.comwrote: enterFullscreen always returns immediately. If fullscreen mode is currently supported and permitted, enterFullscreen dispatches a task that a) imposes the fullscreen style, b) fires the beginfullscreen event on the