Title: [292651] branches/safari-613-branch
- Revision
- 292651
- Author
- [email protected]
- Date
- 2022-04-08 17:13:28 -0700 (Fri, 08 Apr 2022)
Log Message
Cherry-pick r291791. rdar://problem/90694727
REGRESSION (r287807): WEBGL_multi_draw validation rejecting valid arguments
https://bugs.webkit.org/show_bug.cgi?id=238239
Patch by Kimmo Kinnunen <[email protected]> on 2022-03-24
Reviewed by Darin Adler.
Source/WebCore:
Fix off-by-one error causing full buffer multidraws to be
marked as invalid.
Enable the newer WebGL conformance tests that test this.
* html/canvas/WebGLMultiDraw.cpp:
(WebCore::WebGLMultiDraw::validateOffset):
LayoutTests:
Enable the newer WebGL conformance tests that test this, marked
Slow as they take a while to run.
* TestExpectations:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Modified Paths
Diff
Modified: branches/safari-613-branch/LayoutTests/ChangeLog (292650 => 292651)
--- branches/safari-613-branch/LayoutTests/ChangeLog 2022-04-09 00:13:24 UTC (rev 292650)
+++ branches/safari-613-branch/LayoutTests/ChangeLog 2022-04-09 00:13:28 UTC (rev 292651)
@@ -1,5 +1,46 @@
2022-04-07 Alan Coon <[email protected]>
+ Cherry-pick r291791. rdar://problem/90694727
+
+ REGRESSION (r287807): WEBGL_multi_draw validation rejecting valid arguments
+ https://bugs.webkit.org/show_bug.cgi?id=238239
+
+ Patch by Kimmo Kinnunen <[email protected]> on 2022-03-24
+ Reviewed by Darin Adler.
+
+ Source/WebCore:
+
+ Fix off-by-one error causing full buffer multidraws to be
+ marked as invalid.
+
+ Enable the newer WebGL conformance tests that test this.
+
+ * html/canvas/WebGLMultiDraw.cpp:
+ (WebCore::WebGLMultiDraw::validateOffset):
+
+ LayoutTests:
+
+ Enable the newer WebGL conformance tests that test this, marked
+ Slow as they take a while to run.
+
+ * TestExpectations:
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2022-03-24 Kimmo Kinnunen <[email protected]>
+
+ REGRESSION (r287807): WEBGL_multi_draw validation rejecting valid arguments
+ https://bugs.webkit.org/show_bug.cgi?id=238239
+
+ Reviewed by Darin Adler.
+
+ Enable the newer WebGL conformance tests that test this, marked
+ Slow as they take a while to run.
+
+ * TestExpectations:
+
+2022-04-07 Alan Coon <[email protected]>
+
Cherry-pick r291741. rdar://problem/88979099
Computation of Document siteForCookies is buggy in case document is created by window.open
Modified: branches/safari-613-branch/LayoutTests/TestExpectations (292650 => 292651)
--- branches/safari-613-branch/LayoutTests/TestExpectations 2022-04-09 00:13:24 UTC (rev 292650)
+++ branches/safari-613-branch/LayoutTests/TestExpectations 2022-04-09 00:13:28 UTC (rev 292651)
@@ -3647,6 +3647,7 @@
webgl/1.0.x/conformance/glsl/bugs/character-set.html [ Pass ]
webgl/1.0.x/conformance/glsl/misc/fragcolor-fragdata-invariant.html [ Pass ]
webgl/1.0.x/conformance/context/constants-and-properties.html [ Pass ]
+webgl/1.0.x/conformance/extensions/webgl-multi-draw.html [ Pass Slow ]
# WebGL conformance test suite 2.0.1 is skipped until 2.0.0 is retired.
@@ -3657,6 +3658,7 @@
webgl/2.0.y/conformance/misc/invalid-passed-params.html [ Pass ]
webgl/2.0.y/conformance/glsl/bugs/character-set.html [ Pass ]
webgl/2.0.y/conformance/glsl/misc/fragcolor-fragdata-invariant.html [ Pass ]
+webgl/2.0.y/conformance/extensions/webgl-multi-draw.html [ Pass Slow ]
webgl/2.0.y/conformance2/context/constants-and-properties-2.html [ Pass ]
webgl/2.0.y/conformance2/vertex_arrays/vertex-array-object.html [ Pass ]
webgl/1.0.x/conformance/extensions/oes-vertex-array-object.html [ Pass ]
Modified: branches/safari-613-branch/Source/WebCore/ChangeLog (292650 => 292651)
--- branches/safari-613-branch/Source/WebCore/ChangeLog 2022-04-09 00:13:24 UTC (rev 292650)
+++ branches/safari-613-branch/Source/WebCore/ChangeLog 2022-04-09 00:13:28 UTC (rev 292651)
@@ -1,5 +1,49 @@
2022-04-07 Alan Coon <[email protected]>
+ Cherry-pick r291791. rdar://problem/90694727
+
+ REGRESSION (r287807): WEBGL_multi_draw validation rejecting valid arguments
+ https://bugs.webkit.org/show_bug.cgi?id=238239
+
+ Patch by Kimmo Kinnunen <[email protected]> on 2022-03-24
+ Reviewed by Darin Adler.
+
+ Source/WebCore:
+
+ Fix off-by-one error causing full buffer multidraws to be
+ marked as invalid.
+
+ Enable the newer WebGL conformance tests that test this.
+
+ * html/canvas/WebGLMultiDraw.cpp:
+ (WebCore::WebGLMultiDraw::validateOffset):
+
+ LayoutTests:
+
+ Enable the newer WebGL conformance tests that test this, marked
+ Slow as they take a while to run.
+
+ * TestExpectations:
+
+ git-svn-id: https://svn.webkit.org/repository/webkit/trunk@291791 268f45cc-cd09-0410-ab3c-d52691b4dbfc
+
+ 2022-03-24 Kimmo Kinnunen <[email protected]>
+
+ REGRESSION (r287807): WEBGL_multi_draw validation rejecting valid arguments
+ https://bugs.webkit.org/show_bug.cgi?id=238239
+
+ Reviewed by Darin Adler.
+
+ Fix off-by-one error causing full buffer multidraws to be
+ marked as invalid.
+
+ Enable the newer WebGL conformance tests that test this.
+
+ * html/canvas/WebGLMultiDraw.cpp:
+ (WebCore::WebGLMultiDraw::validateOffset):
+
+2022-04-07 Alan Coon <[email protected]>
+
Cherry-pick r291741. rdar://problem/88979099
Computation of Document siteForCookies is buggy in case document is created by window.open
Modified: branches/safari-613-branch/Source/WebCore/html/canvas/WebGLMultiDraw.cpp (292650 => 292651)
--- branches/safari-613-branch/Source/WebCore/html/canvas/WebGLMultiDraw.cpp 2022-04-09 00:13:24 UTC (rev 292650)
+++ branches/safari-613-branch/Source/WebCore/html/canvas/WebGLMultiDraw.cpp 2022-04-09 00:13:28 UTC (rev 292651)
@@ -134,7 +134,7 @@
return false;
}
- if (offset >= static_cast<GCGLuint>(size - drawcount)) {
+ if (offset > static_cast<GCGLuint>(size - drawcount)) {
m_context->synthesizeGLError(GraphicsContextGL::INVALID_OPERATION, functionName, outOfBoundsDescription);
return false;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes