Status: Unconfirmed
Owner: ----
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 24393 by kerjin2001: port opened in content script closed  
unexpectedly
http://code.google.com/p/chromium/issues/detail?id=24393

Chrome Version       : 4.0.221.7 (28100)
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 4:
   Firefox 3.x:
          IE 7:
          IE 8:

What steps will reproduce the problem?
1. open debug tab for toolstrip, show console.
2. open google.com in one tab.
    toolstrip console shows "c1 saved". I waited 2 minutes and didn't see
"c1 deleted" msg.
3. open a new tab (you don't need to load any URL).
    After a while (5-15 seconds), I saw  "c1 deleted". This seems caused by
GC. The code Aaron suggested (window.addEventListener('load', dummy,
false)) does not help.

See attached file for the extension.

BTW,  though c1 matches http://*/*, it is also run for view-source:http:...
when I hit "^U". Should I create another bug for this?

What is the expected result?
port stays open.

What happens instead?
port closed.

Please provide any additional information below. Attach a screenshot if
possible.


Attachments:
        portClosed.zip  1.6 KB

--
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