Closed Bug 337306 Opened 18 years ago Closed 18 years ago

gmail leaked an onreadystatechange function for a bunch of xmlhttprequests when i closed its mail compose window

Categories

(Core :: XML, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 321282

People

(Reporter: timeless, Unassigned)

Details

Attachments

(1 file)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060504 Firefox/1.5.0.4

I was writing an email to bz.

I had tried to check spelling (it didn't finish) and then i asked it to save as draft. and then i asked it again to check spelling and against to save as draft. it managed to give me 4 identical leaks.

gmail's integrated chat area  says "unable to reach gmail. please check your internet connection."

The leak looks like this according to the leak extension:
[leaked object] http://mail.google.com/mail?view=page&name=js&Ver=a74d2cf28820cd90 393 393 function () { try { if (a.h) { a.h

(a); } } catch (b) { GA(b); } if (a.readState == 4) { a.onreadystatechange = xt; a.h = null; }}


The source of the creature is here:
function FF(){var a=null;if(BA){var b=BB?"Microsoft.XMLHTTP":"Msxml2.XMLHTTP";try{a=new ActiveXObject(b)}catch(c){GA(c);HF("You need to enable active scripting and activeX controls.")}}else{a=new XMLHttpRequest();if(!a){;HF("XMLHttpRequest is not supported on this browser.")}if(a){s_(a)}}return a}
function s_(a){if(yt){a.onreadystatechange=function(){try{if(a.h){a.h(a)}}catch(b){GA(b)}if(a.readyState==4){a.onreadystatechange=xt;a.h=null}}
}}
Whiteboard: DUPEME

*** This bug has been marked as a duplicate of 321282 ***
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Whiteboard: DUPEME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: