Skip to content

Commit 645e0df

Browse files
author
homyakov
committed
Issue stacktracejs#27 - playing with ajax()
1 parent 4e89e53 commit 645e0df

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎stacktrace.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,10 @@ printStackTrace.implementation.prototype = {
278278
var req = this.createXMLHTTPObject();
279279
if (req) {
280280
try {
281-
// FIXME why Firefox 3.6-7.0 raises error for file:///
282281
req.open('GET', url, false);
283-
req.send('');
282+
//req.setRequestHeader('Content-Type', 'text/plain');
283+
//req.send('');
284+
req.send(null);
284285
return req.responseText;
285286
} catch (e) {
286287
}

0 commit comments

Comments
 (0)