UNCONFIRMED 15126
reopen auto refresh page of inactive tab becomes active tab
https://bugs.webkit.org/show_bug.cgi?id=15126
Summary reopen auto refresh page of inactive tab becomes active tab
jason hu
Reported 2007-08-31 21:15:06 PDT
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.
Attachments
Test case (135 bytes, text/html)
2007-09-01 07:13 PDT, David Kilzer (:ddkilzer)
no flags
javascript js file (82.59 KB, text/plain)
2008-02-27 13:25 PST, jason hu
no flags
Alexey Proskuryakov
Comment 1 2007-09-01 00:44:21 PDT
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?
jason hu
Comment 2 2007-09-01 06:47:30 PDT
basically, the page uses the http refresh header: such as <META HTTP-EQUIV="refresh" content="10">
David Kilzer (:ddkilzer)
Comment 3 2007-09-01 07:13:10 PDT
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.
David Kilzer (:ddkilzer)
Comment 4 2007-09-01 07:14:54 PDT
(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?
David Kilzer (:ddkilzer)
Comment 5 2007-09-01 07:17:53 PDT
(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).
Robert Blaut
Comment 6 2008-02-27 13:01:24 PST
(In reply to comment #4) > This doesn't exhibit the buggy behavior for me. Nor for me. So WORKSFORME.
Robert Blaut
Comment 7 2008-02-27 13:02:40 PST
jason, feel free to reopen the bug if you provide step by step procedure to reproduce the problem.
jason hu
Comment 8 2008-02-27 13:17:37 PST
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...
jason hu
Comment 9 2008-02-27 13:25:05 PST
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
jason hu
Comment 10 2008-02-27 13:26:25 PST
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); } }
Note You need to log in before you can comment on or make changes to this bug.