Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 Area-Undefined

New issue 32646 by [email protected]: chrome popup window has a wrong handler
http://code.google.com/p/chromium/issues/detail?id=32646

Chrome Version       : 4.0.303.0(36555)
URLs (if applicable) : N/A


What steps will reproduce the problem?
1. start the chrome with: chrome --disable-web-security
--disable-popup-blocking
2. type "http://www.google.com"; in URL then hit "enter"
3. right click mouse and select "Inspect Element"
4. On the botton bar, click "console" (the second butter)
5. In console, type: window.location.toString(), it should returns
"http://www.google.com";
6. In console, type: var mywin = window.open("http://www.facebook.com";)
then type: mywin.location.toString(), it should return
"http://www.facebook.com";
7. now try: window.chrome.loadTimes().startLoadTime and
mywin.chrome.loadTimes().startLoadTime. The two values are exactly the same.
8. Try: window.chrome.loadTimes().finishLoadTime and
mywin.chrome.loadTimes().finishLoadTime, the two values are the same too.


What is the expected result?
These two pair of values should not be the same since if you in the popup
window, you do the "Inspect Element" and in console, if you do a
window.chrome.loadTimes().startLoadTime and
window.chrome.loadTimes().finishLoadTime, you should be able to see the
correct value.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
-- 
Automated mail from issue updates at http://crbug.com/
Subscription options: http://groups.google.com/group/chromium-bugs

Reply via email to