Backed out changeset 323b479bd91f (bug 1285100) for webgl issues
authorCarsten "Tomcat" Book <cbook@mozilla.com>
Thu, 21 Jul 2016 08:03:23 +0200
changeset 305960 e9e32ccc8cfbcc802f41f67c80938a50b7ce1a65
parent 305959 fab0848f52e72b34ce47303ee8146c3efad6b8b7
child 305961 6713d9c84fff0b7e007fa1ec6c1b48c8dbe89f4a
push id79729
push usercbook@mozilla.com
push dateThu, 21 Jul 2016 06:04:11 +0000
treeherdermozilla-inbound@e9e32ccc8cfb [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
bugs1285100
milestone50.0a1
backs out323b479bd91f83549f5cc8949630b4aae8dcb247
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backed out changeset 323b479bd91f (bug 1285100) for webgl issues
dom/canvas/WebGLContextBuffers.cpp
--- a/dom/canvas/WebGLContextBuffers.cpp
+++ b/dom/canvas/WebGLContextBuffers.cpp
@@ -317,17 +317,17 @@ WebGLContext::BufferSubDataT(GLenum targ
     gl->fBufferSubData(target, byteOffset, data.LengthAllowShared(), data.DataAllowShared());
 }
 
 void
 WebGLContext::BufferSubData(GLenum target, WebGLsizeiptr byteOffset,
                             const dom::Nullable<dom::ArrayBuffer>& maybeData)
 {
     if (maybeData.IsNull()) {
-        ErrorInvalidValue("BufferSubData: returnedData is null.");
+        // see http://www.khronos.org/bugzilla/show_bug.cgi?id=386
         return;
     }
     BufferSubDataT(target, byteOffset, maybeData.Value());
 }
 
 void
 WebGLContext::BufferSubData(GLenum target, WebGLsizeiptr byteOffset,
                             const dom::SharedArrayBuffer& data)