[blink-dev] Re: Intent to Ship: WebGLContextEvent on Web Workers

2023-02-08 Thread slightlyoff via Chromestatus
LGTM1 Do we know if other browsers that support offscreen canvas (Safari TP, eg) handle this the same way? Or are we the first to ship? -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from i

[blink-dev] Re: Intent to Ship: WebGLContextEvent on Web Workers

2023-02-12 Thread Kenneth Russell
Sorry for the delay replying...this email didn't show up in my Inbox nor Spam folder. The other browsers handle this in the same way. Firefox has supported WebGL on web workers for some time, and Safari had exactly the same IDL bug which they just fixed. -Ken On Wednesday, February 8, 2023 a

Re: [blink-dev] Re: Intent to Ship: WebGLContextEvent on Web Workers

2023-02-13 Thread Joshua Bell
Super low priority question: We've got WPTs and tooling that slurps Web IDL from specs and validates it against implementations which in theory should have caught this. This is a fairly fragile process (requires spec to be just right, jobs to be configured, tests to exist, integration bots to succ

Re: [blink-dev] Re: Intent to Ship: WebGLContextEvent on Web Workers

2023-02-13 Thread Ken Russell
Sorry, not sure. The living WebGL specs are hosted at: https://registry.khronos.org/webgl/specs/latest/1.0/ https://registry.khronos.org/webgl/specs/latest/2.0/ The IDL is actually auto-extracted from the spec so should be easy to ingest and validate against Blink's. One other thing to consider

Re: [blink-dev] Re: Intent to Ship: WebGLContextEvent on Web Workers

2023-02-14 Thread Joshua Bell
I dug in a bit. Looks like the webgl1 and webgl2 IDLs are indeed extracted by the workflow and placed in https://github.com/web-platform-tests/wpt/tree/master/interfaces (yay!) and the WebXR tests even reference the webgl1 IDLs but there's no idlharness test that actually exercises them. (boo!) A

Re: [blink-dev] Re: Intent to Ship: WebGLContextEvent on Web Workers

2023-02-15 Thread Philip Jägenstedt
Hi Josh, Thanks for taking a look at this and noticing it's kind of fragile and broken :) The idlharness.js setup has evolved step by step from IDL manually copied from specs and inlined into specs, to today's setup of the interfaces/*.idl being updated by automated PRs, but *not* reviewed/merged