Closed Bug 446210 Opened 16 years ago Closed 16 years ago

XMLHttpRequest synchronous loading doen't work

Categories

(Core :: DOM: Core & HTML, defect)

1.9.0 Branch
x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 313646

People

(Reporter: bugzilla33, Unassigned)

References

()

Details

User-Agent:       Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FDM; .NET CLR 2.0.50727)
Build Identifier: 

<script>

  r=new XMLHttpRequest()
  r.onreadystatechange=function(){if(r.readyState==4)alert(r.responseText)}
  r.open('GET','1.txt',false)
  r.send(null)

</script>

Reproducible: Always

Steps to Reproduce:
1. create 1.txt
2. run synchronous loading
Actual Results:  
does't show data

Expected Results:  
show data
Product: Firefox → Core
Version: unspecified → 1.9.0 Branch
Component: General → DOM
in asynchronous works very good
bug: in synchronous when open url is without 'http://'
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.