Skip to content

Remove unsafe WebGL uniform typed-array creation - #48104

Merged
Taym95 merged 1 commit into
servo:mainfrom
Taym95:webgl-safe-uniform-typed-array
Sep 15, 2026
Merged

Taym95 merged 1 commit into
servo:mainfrom
Taym95:webgl-safe-uniform-typed-array

Conversation

@Taym95

@Taym95 Taym95 commented Sep 15, 2026 •

Copy link
Copy Markdown
Member

Use create_buffer_source in uniform_typed instead of calling TypedArray::create directly.

Testing: existing WPT test pass.

issues: part of #30889

@Taym95
Taym95 requested a review from gterzian as a code owner September 15, 2026 14:06
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Sep 15, 2026

@simonwuelker simonwuelker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Sep 15, 2026
@Taym95
Taym95 added this pull request to the merge queue Sep 15, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 15, 2026
Merged via the queue into servo:main with commit 3a6ea23 Sep 15, 2026
37 checks passed
@Taym95
Taym95 deleted the webgl-safe-uniform-typed-array branch September 15, 2026 16:30
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Sep 15, 2026
setoelkahfi pushed a commit to setoelkahfi/servo that referenced this pull request Sep 16, 2026
…vo#48106)

Migrate remaining WebGL typed-array constructors to BufferSource

Testing: existing WPT test pass.

issues: part of servo#30889

on top of servo#48104

Signed-off-by: Taym Haddadi <[email protected]>
RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
Use create_buffer_source<T> in uniform_typed instead of calling
TypedArray::create directly.

Testing: existing WPT test pass.

issues: part of servo#30889

Signed-off-by: Taym Haddadi <[email protected]>
RichardTjokroutomo pushed a commit to RichardTjokroutomo/servo that referenced this pull request Oct 6, 2026
…vo#48106)

Migrate remaining WebGL typed-array constructors to BufferSource

Testing: existing WPT test pass.

issues: part of servo#30889

on top of servo#48104

Signed-off-by: Taym Haddadi <[email protected]>
hhhwsqhhh pushed a commit to hhhwsqhhh/servo that referenced this pull request Oct 12, 2026
Use create_buffer_source<T> in uniform_typed instead of calling
TypedArray::create directly.

Testing: existing WPT test pass.

issues: part of servo#30889

Signed-off-by: Taym Haddadi <[email protected]>
hhhwsqhhh pushed a commit to hhhwsqhhh/servo that referenced this pull request Oct 12, 2026
…vo#48106)

Migrate remaining WebGL typed-array constructors to BufferSource

Testing: existing WPT test pass.

issues: part of servo#30889

on top of servo#48104

Signed-off-by: Taym Haddadi <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants