Re: [whatwg] Proposal for Links to Unrelated Browsing Contexts

2012-06-12 Thread Anne van Kesteren
On Mon, Jun 11, 2012 at 11:32 PM, Charlie Reis cr...@chromium.org wrote: Any other feedback on this proposal? http://wiki.whatwg.org/wiki/Links_to_Unrelated_Browsing_Contexts Having a rel attribute imply a target attribute value seems bad. Thus far they have been orthogonal. Maybe it should be

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Josh Aas
I haven't experimented much with out-of-content UI for click-to-play myself, but (general UI issues aside) I suspect it'd still be pretty problematic for scripting due to timing. Letting the instances instantiate after relevant script has run and received unexpected exceptions that it can't

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Adam Barth
I've had good luck with the click-to-play feature in Chrome. It might be worth giving it a try on sites that are causing you trouble to see whether it handles them well or poorly. One thing that's helpful w.r.t. script errors is the observation that sites need to wait for plug-ins to load

Re: [whatwg] [html5] r7128 - [giow] (2) Try to define img synchronous loading. Affected topics: HTML

2012-06-12 Thread Simon Pieters
On Mon, 11 Jun 2012 22:53:30 +0200, wha...@whatwg.org wrote: Author: ianh Date: 2012-06-11 13:53:26 -0700 (Mon, 11 Jun 2012) New Revision: 7128 Modified: complete.html index source Log: [giow] (2) Try to define img synchronous loading. Affected topics: HTML Modified: source

Re: [whatwg] binary encoding

2012-06-12 Thread Simon Pieters
On Mon, 11 Jun 2012 18:20:55 +0200, Joshua Bell jsb...@chromium.org wrote: http://wiki.whatwg.org/wiki/StringEncoding defines a binary encoding (basically the official iso-8859-1 where it is not mapped to windows-1252). which is residue from earlier iterations. Intended use case

[whatwg] Navigation triggered from unload

2012-06-12 Thread James Graham
What is the expected behaviour of navigation triggered from unload handlers? In particular, what stops such navigations from re-triggering the unload handler, and thus starting yet another navigation? It looks like the spec tries to make a distinction between navigations that are cross-origin

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Glenn Maynard
On Tue, Jun 12, 2012 at 1:47 AM, Adam Barth w...@adambarth.com wrote: We have had some complaints along the lines you describe, but interestingly mostly from web site operators, not from users. (Users, myself included, seem quite happy with the feature.) One thing we recommend is that web

Re: [whatwg] Proposal for Links to Unrelated Browsing Contexts

2012-06-12 Thread Charlie Reis
On Mon, Jun 11, 2012 at 11:24 PM, Anne van Kesteren ann...@annevk.nlwrote: On Mon, Jun 11, 2012 at 11:32 PM, Charlie Reis cr...@chromium.org wrote: Any other feedback on this proposal? http://wiki.whatwg.org/wiki/Links_to_Unrelated_Browsing_Contexts Having a rel attribute imply a target

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Peter Kasting
On Mon, Jun 11, 2012 at 5:29 PM, Josh Aas josh...@gmail.com wrote: In order for click-to-play to be a viable feature we'll probably need to allow pages with complex plugin usage (i.e. scripting) to query for click-to-play state. The advice we (Chromium team) give developers is to check

Re: [whatwg] [html5] r7128 - [giow] (2) Try to define img synchronous loading. Affected topics: HTML

2012-06-12 Thread Boris Zbarsky
On 6/12/12 4:47 AM, Simon Pieters wrote: The potentially CORS-enabled fetch algorithm ignores the state of the crossorigin attribute when the URL is same-origin. Hmm. On the face of it, this seems like a bug when open redirectors are involved... Is this what UAs implement in practice?

Re: [whatwg] binary encoding

2012-06-12 Thread Joshua Bell
On Tue, Jun 12, 2012 at 2:29 AM, Simon Pieters sim...@opera.com wrote: On Mon, 11 Jun 2012 18:20:55 +0200, Joshua Bell jsb...@chromium.org wrote: http://wiki.whatwg.org/wiki/**StringEncodinghttp://wiki.whatwg.org/wiki/StringEncoding defines a binary encoding (basically the official

Re: [whatwg] Navigation triggered from unload

2012-06-12 Thread Boris Zbarsky
On 6/12/12 6:30 AM, James Graham wrote: Based on some tests ([1]-[5]), it seems that WebKit seems to cancel the navigation in the unload handler always, Opera seems to always carry out the navigation in the unload handler, and Gecko seems to follow WebKit in the cross-origin case and Opera in

[whatwg] Domain transfer security

2012-06-12 Thread Simon Brown
I have thought of a possible security problem that may be reduced with a change to the specifications (though I'm not sure exactly how). 1. An attacker has control of a popular site. 2. The attacker buys a valuable domain. 3. The attacker creates a page on the site that sends all

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Glenn Maynard
On Tue, Jun 12, 2012 at 1:22 PM, Peter Kasting pkast...@google.com wrote: The temporary implementation should probably be along the lines of reload the page, this time allowing all plugins. As noted already in this thread, simply allowing plugins after script has already tried to start them

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Ilya Sherman
On Mon, Jun 11, 2012 at 11:47 PM, Adam Barth w...@adambarth.com wrote: I've had good luck with the click-to-play feature in Chrome. It might be worth giving it a try on sites that are causing you trouble to see whether it handles them well or poorly. One thing that's helpful w.r.t. script

Re: [whatwg] binary encoding

2012-06-12 Thread Glenn Maynard
On Tue, Jun 12, 2012 at 1:45 PM, Joshua Bell jsb...@chromium.org wrote: These don't handle data streaming scenarios, however. Streaming definitely belongs in the string encoding API. The atob/btoa interface is fine for fixed strings, but if you wedge streaming into it you're just going to end

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Peter Kasting
On Tue, Jun 12, 2012 at 1:07 PM, Glenn Maynard gl...@zewt.org wrote: On Tue, Jun 12, 2012 at 1:22 PM, Peter Kasting pkast...@google.comwrote: The temporary implementation should probably be along the lines of reload the page, this time allowing all plugins. As noted already in this thread,

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Ashley Sheridan
On Tue, 2012-06-12 at 13:18 -0700, Peter Kasting wrote: On Tue, Jun 12, 2012 at 1:07 PM, Glenn Maynard gl...@zewt.org wrote: On Tue, Jun 12, 2012 at 1:22 PM, Peter Kasting pkast...@google.comwrote: The temporary implementation should probably be along the lines of reload the page, this

Re: [whatwg] communicating plugin state (primarily for click-to-play)

2012-06-12 Thread Peter Kasting
On Tue, Jun 12, 2012 at 1:26 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: ** What about doing what popular plugin blockers do and offer the notification in the area the plugin was intended to be used? I was operating under the assumption the UA was already doing that. Hence why we're

Re: [whatwg] Validator.nu: Attribute role not allowed on element h2 at this point.

2012-06-12 Thread Arlen Walker
On Jun 8, 2012, at 5:46 PM, Ian Hickson wrote: I've used role and/or redundant ARIA within the scripting environment to minimize calls in applications checking for roles. Redundancy doesn't harm anything, I actively promote it, as it does help, sometimes. I disagree with that premise,