Status: Unconfirmed
Owner: [EMAIL PROTECTED]
Labels: Type-Bug Pri-2 OS-All Area-Misc

New issue 4951 by rinoo7: local XMLHttpRequest fails silently
http://code.google.com/p/chromium/issues/detail?id=4951

Chrome Version       : 0.4.154.25
URLs (if applicable) :
Other browsers tested:
   Add OK or FAIL after other browsers where you have tested this issue:
      Safari 3.1 Windows: OK

What steps will reproduce the problem?
1. Load an html file from local filesystem that makes XMLHttpRequest calls
(example below)

What is the expected result?
On previous Chrome versions, it just worked.
On Firefox, a security popup asks for confirmation.
Either is acceptable....

What happens instead?
Javascript execution halts without any user interaction. A "Permission
denied" error is logged to the Javascript console.

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

Sample code (the alert is never executed):
<html>
<head>
<script type="text/javascript" language="javascript">
var http_request = new XMLHttpRequest();
http_request.open('POST', 'http://www.google.com', true);
alert('x');
</script>
</head>
<body>
</body>
</html>


Attachments:
        Clipboard02.png  32.4 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

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Chromium-bugs" group.
To post to this group, send email to chromium-bugs@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/chromium-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to