From: Phil O. <phi...@gm...> - 2010-03-15 20:17:10
|
Hi chromium-users, I'm running into an issue on the latest Chrome for Windows - 4.0.249.89 (38071). It does not affect the latest version for mac, so hopefully a fix is already out and just hasn't made it into the Windows releases yet. While on a page delivered over HTTPS, calls to XMLHttpRequest.send() generate an exception: "NETWORK_ERR: XMLHttpRequest Exception 101". readyState is 1 (Open) prior to the call. The same call succeeds when the page is opened over plain old HTTP. Thoughts and suggestions would be much appreciated. Here's a small test case, written in PHP (just so the test case could be contained in a single file): causeNetworkErr.php: <?php if ($_GET['jav']) { echo '<blink>Not broke!</blink>'; exit; } ?> <html> <head> <title>Try to break chroooooome</title> <script type="text/javascript"> function getNewContent() { var xmlHttp=new XMLHttpRequest(); var url = "causeNetworkErr.php?jav=ya" xmlHttp.open("GET",url,false); xmlHttp.send(null); var rtns=xmlHttp.responseText; document.getElementById("survey").innerHTML=rtns; } </script> </head> <body> <h1>Click the button to break chrome</h1> <div id="survey"> <button onclick="surveygoinit()">Click me.</button> </div> </body> </html> |