Bug 1372193 - Format/types invalid for DOM uploads are INVALID_VALUE. r=lsalzman

MozReview-Commit-ID: IdSHKBdyqxA

Differential Revision: https://phabricator.services.mozilla.com/D18484

--HG--
extra : moz-landing-system : lando
This commit is contained in:
jgilbert@mozilla.com 2019-02-02 10:02:23 +00:00
Родитель 667842907d
Коммит 87e485d6b5
3 изменённых файлов: 1 добавлений и 7 удалений

Просмотреть файл

@ -68,7 +68,7 @@ static bool IsPIValidForDOM(const webgl::PackingInfo& pi) {
static bool ValidatePIForDOM(WebGLContext* webgl,
const webgl::PackingInfo& pi) {
if (!IsPIValidForDOM(pi)) {
webgl->ErrorInvalidOperation("Format or type is invalid for DOM sources.");
webgl->ErrorInvalidValue("Format or type is invalid for DOM sources.");
return false;
}
return true;

Просмотреть файл

@ -6879,8 +6879,6 @@ skip-if = (os == 'win') || (os == 'mac')
subsuite = webgl2-core
[generated/test_2_conformance2__textures__misc__tex-image-with-different-data-source.html]
subsuite = webgl2-core
skip-if = (os == 'mac' && debug) || (os == 'win' && debug)
fail-if = (os == 'mac') || (os == 'win')
[generated/test_2_conformance2__textures__misc__tex-input-validation.html]
subsuite = webgl2-core
skip-if = (os == 'win')

Просмотреть файл

@ -253,10 +253,6 @@ skip-if = (os == 'linux') || (os == 'android')
skip-if = (os == 'android')
[generated/test_2_conformance2__textures__misc__tex-image-with-bad-args-from-dom-elements.html]
skip-if = (os == 'win') || (os == 'mac')
[generated/test_2_conformance2__textures__misc__tex-image-with-different-data-source.html]
# Bug 1324349
skip-if = (os == 'mac' && debug) || (os == 'win' && debug)
fail-if = (os == 'mac') || (os == 'win')
[generated/test_2_conformance2__glsl3__tricky-loop-conditions.html]
fail-if = (os == 'win')
[generated/test_2_conformance2__misc__views-with-offsets.html]