Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Eric Seidel
So this would just make pop-unders turn into pop-overs correct? On Mon, May 21, 2012 at 2:17 AM, Jochen Eisinger joc...@chromium.org wrote: Hey, in https://bugs.webkit.org/show_bug.cgi?id=86969 I'm changing window.focus and window.blur to match Firefox's behavior: window.blur does nothing,

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Eric Seidel
Resent from the correct account. On Mon, May 21, 2012 at 4:16 AM, Eric Seidel esei...@google.com wrote: So this would just make pop-unders turn into pop-overs correct? On Mon, May 21, 2012 at 2:17 AM, Jochen Eisinger joc...@chromium.org wrote: Hey, in 

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Jochen Eisinger
On Mon, May 21, 2012 at 1:16 PM, Eric Seidel esei...@google.com wrote: So this would just make pop-unders turn into pop-overs correct? Correct. Keep in mind that at this point, our logic already decided that it's ok for the page to show a popup -jochen On Mon, May 21, 2012 at 2:17 AM,

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Adele Peterson
I have a non-specific concern about compatibility here. I think a setting would be good to allow ports to have bake time if they want it. - Adele On May 21, 2012, at 2:17 AM, Jochen Eisinger wrote: Hey, in https://bugs.webkit.org/show_bug.cgi?id=86969 I'm changing window.focus and

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Jochen Eisinger
On Mon, May 21, 2012 at 8:17 PM, Eric Seidel e...@webkit.org wrote: So the goal (FF's goal) is to guilt the site into not using pop-ups anymore? Since they don't want to take you away from their content (as pop-unders allow them to do?) I don't think this changed a lot since FF started to

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Andrew Wilson
On Mon, May 21, 2012 at 2:17 AM, Jochen Eisinger joc...@chromium.orgwrote: Hey, in https://bugs.webkit.org/show_bug.cgi?id=86969 I'm changing window.focus and window.blur to match Firefox's behavior: window.blur does nothing, and window.focus only works when invoked from the window that

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Maciej Stachowiak
On May 21, 2012, at 12:16 PM, Andrew Wilson atwil...@google.com wrote: On Mon, May 21, 2012 at 2:17 AM, Jochen Eisinger joc...@chromium.org wrote: Hey, in https://bugs.webkit.org/show_bug.cgi?id=86969 I'm changing window.focus and window.blur to match Firefox's behavior: window.blur

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Jochen Eisinger
On Mon, May 21, 2012 at 9:16 PM, Andrew Wilson atwil...@google.com wrote: On Mon, May 21, 2012 at 2:17 AM, Jochen Eisinger joc...@chromium.orgwrote: Hey, in https://bugs.webkit.org/show_bug.cgi?id=86969 I'm changing window.focus and window.blur to match Firefox's behavior: window.blur

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Andrew Wilson
On Mon, May 21, 2012 at 12:21 PM, Maciej Stachowiak m...@apple.com wrote: On May 21, 2012, at 12:16 PM, Andrew Wilson atwil...@google.com wrote: On Mon, May 21, 2012 at 2:17 AM, Jochen Eisinger joc...@chromium.orgwrote: Hey, in https://bugs.webkit.org/show_bug.cgi?id=86969 I'm changing

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Andrew Wilson
On Mon, May 21, 2012 at 12:21 PM, Jochen Eisinger joc...@chromium.orgwrote: On Mon, May 21, 2012 at 9:16 PM, Andrew Wilson atwil...@google.comwrote: On Mon, May 21, 2012 at 2:17 AM, Jochen Eisinger joc...@chromium.orgwrote: Hey, in https://bugs.webkit.org/show_bug.cgi?id=86969 I'm

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Maciej Stachowiak
On May 21, 2012, at 12:24 PM, Andrew Wilson atwil...@google.com wrote: On Mon, May 21, 2012 at 12:21 PM, Maciej Stachowiak m...@apple.com wrote: On May 21, 2012, at 12:16 PM, Andrew Wilson atwil...@google.com wrote: On Mon, May 21, 2012 at 2:17 AM, Jochen Eisinger

Re: [webkit-dev] Changes to window.focus/window.blur controlled by a setting?

2012-05-21 Thread Andy Estes
On May 21, 2012, at 12:25 PM, Andrew Wilson atwil...@google.com wrote: No, because the setTimeout() callback would be executed outside the context of a user gesture. This isn't always true. User gesture state is forwarded to the timeout's callback if the timeout was scheduled in the context