when I open a page A with auto refresh, if I open another page B in another tab, whenever page A refreshes in the background, it takes focus, so my tab will get switched back to A again. the reason I encountered this is I need to monitor some server status, the monitoring page automatically refreshes, i usually place the page in the background and open another to do other things, but whenever th monitoring page refreshes, my tab got switched.
This bug doesn't meet P1 criteria <http://webkit.org/quality/bugpriorities.html>, downgrading to P2. I should also mention that I never saw such behavior myself with auto-refreshing pages. We will probably need more information to work on this issue. Could you please attach the source of this page?
basically, the page uses the http refresh header: such as <META HTTP-EQUIV="refresh" content="10">
Created attachment 16173 [details] Test case Test case per Comment #2. After opening this bug, command-click on this attachment to open it in a background tab. If the bug is present, that tab should become the active tab in about 10 seconds.
(In reply to comment #3) > After opening this bug, command-click on this attachment to open it in a > background tab. If the bug is present, that tab should become the active tab > in about 10 seconds. This doesn't exhibit the buggy behavior for me. Do you have a real web site that behaves this way? Are you sure there isn't JavaScript involved?
(In reply to comment #4) > This doesn't exhibit the buggy behavior for me. Do you have a real web site > that behaves this way? Are you sure there isn't JavaScript involved? I'm using a local debug build of WebKit r25341 with Safari 3 Public Beta v. 3.0.3 (522.12.1) on Mac OS X 10.4.10 (8R218).
(In reply to comment #4) > This doesn't exhibit the buggy behavior for me. Nor for me. So WORKSFORME.
jason, feel free to reopen the bug if you provide step by step procedure to reproduce the problem.
this happens on oracle's application server 's console page. i tried to look at the page's source code, but I was not able to find anything suspious. this not only happens to tab, but also the window too. I mean if i have the refresh page open in the back ground window, it will become active and come to top of the other windows. if possible, you can download the oracle's application server windows version and install it, and go to its console's home page and choose auto refresh, it will demonstrate the result.... it is super annoying to me, if i open several windows, i will see the windows shuffle by itself,, i will try my best to find the source code of the web page and submit...
Created attachment 19406 [details] javascript js file this js file contains the javascript which used to refresh the page and dictate the window or tab to become active
ok,, I went through the page, found some javascript code: here is the portion of it. the complete js file is in attachement..... "javascript js file" function _partialRedirect(a0) { if(a0&&(parent._pprRequestCount>0)) { if(((typeof a0)=="string")&&(a0.length>0)) { parent._pprRequestCount--; parent._pprSubmitCount=0; parent._pprSomeAction=false; parent.location.href=a0; _pprStopBlocking(parent); } }