Josh Matthews

Results 343 issues of Josh Matthews

I added it as a function in utils.rs for expediency, but it belongs in https://github.com/servo/mozjs/blob/b9edc816b6662a5986e190cdf53ae295049acb92/mozjs/src/jsimpls.rs#L221 instead.

I-cleanup

https://github.com/servo/servo/pull/33133 contains examples of borrow hazards discovered when a GC occurs while a DOM object's field has a mutable borrow outstanding. It _should_ be possible to detect these automatically at...

A-content/bindings
B-interesting-project
I-safety

WebXR is only supposed to be exposed to HTTPS contexts, but we don't enforce this. It would be nice to be able to opt-out of this restriction for local development,...

C-assigned
A-xr-spec-complete

We're several years behind the latest conformance test suite changes in https://github.com/KhronosGroup/WebGL/. This also includes python2->3 changes for the script to import them.

When building mozjs on macOS arm64, I intermittently receive linker errors like this: ``` Undefined symbols for architecture arm64: "___isPlatformVersionAtLeast", referenced from: js::jit::AutoMarkJitCodeWritableForThread::markExecutable(bool) in libmozjs_sys-13c131082aca4d88.rlib[85](Unified_cpp_js_src_jit9.o) ld: symbol(s) not found for...

I started looking at what it would take to implement this missing serialization for various DOM interfaces, and the existing structured clone code does not make it easy. This PR...

There are a lot of CanGc::note() calls in components/script: https://github.com/search?q=repo%3Aservo%2Fservo%20CanGc%3A%3Anote&type=code This was introduced in #33144, but in general any use of CanGc::note() is an opportunity to make the code more...

E-less-complex
A-content/script
B-meta

From https://w3c.github.io/webcrypto/#cryptokey-interface-members: >Returns the [cached ECMAScript object](https://w3c.github.io/webcrypto/#concept-cached-object) associated with the [[[algorithm]]](https://w3c.github.io/webcrypto/#dfn-CryptoKey-slot-algorithm) internal slot. Meanwhile, the implementation creates a new instance each time it's called: https://github.com/servo/servo/blob/main/components/script/dom/cryptokey.rs#L106-L127

A-content/dom

``` ▶ OK /html/semantics/scripting-1/the-script-element/module/dynamic-import/blob-url.any.worker.html │ ▶ FAIL [expected PASS] Revoking a blob URL immediately after calling import will not fail └ └ → promise_test: Unhandled rejection with value: object "TypeError:...

A-content/script
I-intermittent