[Webkit-unassigned] [Bug 62952] New: WebGL context reports error code 1280 if a XMLHttpRequest is make.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jun 19 08:30:22 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=62952

           Summary: WebGL context reports error code 1280 if a
                    XMLHttpRequest is make.
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.6
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: WebGL
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: andor.salga at senecac.on.ca


To reproduce:

1) Create an empty test.js file to successfully XHR some file.

2) Create and run the following WebGL script:

<html>
  <head>
    <script>
      function start(){
        var canvas = document.getElementById('canvas');
        var ctx = canvas.getContext("experimental-webgl");
        var xhr = new XMLHttpRequest();

        xhr.onload = function(){
          alert(ctx.getError());
        };
        xhr.open("GET", "test.js", true);
        xhr.send(null); 
      }
    </script>
  </head>

  <body onload="start();">
    <canvas id="canvas"></canvas>
  </body>
</html>

WebKit will alert a WebGL error code 1280.
Both Firefox and Chrome report error code 0.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list