servo/components/script/dom/bindings
Samson d132a0273d
Update mozjs (SpiderMonkey) to 128.0 (#32769)
* Update mozjs

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Fix changed readTransfer callback

https://bugzilla.mozilla.org/show_bug.cgi?id=1842713
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Use NewExternalArrayBuffer from glue

d33454be74
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Fix columnorigin and filename being in latin1

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* fixup newexternalarray

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Float16 (this might require more work for codegen support)

https://bugzilla.mozilla.org/show_bug.cgi?id=1833647
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* js.strict is removed

https://bugzilla.mozilla.org/show_bug.cgi?id=1621603
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* asm options are now somewhere else

https://hg.mozilla.org/mozilla-central/rev/26045c88e3972957087d535e7f259e08857bd2a2
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Comment out offthread compilation

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Set NDK to 26

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Fix 1-origin handling

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Expect `FinalizationRegistry` interface

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Good expectations

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* more expectations

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Add `WeakRef` to interfaces expectation

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* mozjs upgrade: fixes for Android

Android NDK's layout has changed in r26 and 'lib64' no longer exists
under `toolchain/llvm/prebuilt/linux-x86_64`. The libraries that used to
be it are now present in `lib` folder itself.

This patch updates the build configuration to use the `lib` folder
instead when configuring the LIBCLANG_PATH environment variable.

This patch also updates to a newer mozjs version that includes fixes for
linker errors faced on Android (see #32769).

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

* Patch libz-sys & update mozjs

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* update NDK version in README

Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>

* Use servo/mozjs

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

* Update mozjs again

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>

---------

Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com>
Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com>
2024-07-29 07:20:15 +00:00
..
codegen clippy: components/script/realms (#32859) 2024-07-26 10:15:02 +00:00
buffer_source.rs Update mozjs (SpiderMonkey) to 128.0 (#32769) 2024-07-29 07:20:15 +00:00
callback.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
cell.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
constant.rs script: Use the new C string literal in the DOM bindings (#32741) 2024-07-11 04:18:54 +00:00
conversions.rs clippy:Fix clippy problems in components/scripts/binding (#31893) 2024-03-27 12:32:04 +00:00
error.rs Update mozjs (SpiderMonkey) to 128.0 (#32769) 2024-07-29 07:20:15 +00:00
finalize.rs Extract generated finalizers into generic helper functions. (#31569) 2024-03-08 14:15:26 +00:00
guard.rs clippy: Fix several warnings (#31710) 2024-03-18 08:33:43 +00:00
htmlconstructor.rs clippy: Fix explicit_auto_deref warnings in components/script (#31837) 2024-03-23 11:29:20 +00:00
import.rs Address issues uncovered by rust-1.78 beta (#32130) 2024-04-22 18:20:47 +00:00
inheritance.rs Fix crash when closing window containing video element (#31413) 2024-02-23 12:18:49 +00:00
interface.rs script: Use the new C string literal in the DOM bindings (#32741) 2024-07-11 04:18:54 +00:00
iterable.rs clippy: Fix several warnings (#31710) 2024-03-18 08:33:43 +00:00
like.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
mod.rs clippy: Fix remaining warnings in generated code (#31844) 2024-03-25 11:12:36 +00:00
namespace.rs script: Use the new C string literal in the DOM bindings (#32741) 2024-07-11 04:18:54 +00:00
num.rs clippy: Fix dereferencing a tuple pattern warnings (#31811) 2024-03-21 17:04:18 +00:00
principals.rs script: Impl cloning of JSPrincipals (#32706) 2024-07-06 10:25:38 +00:00
proxyhandler.rs Replace null-byte terminated string literals with C-string literals (#32716) 2024-07-06 20:14:15 +00:00
record.rs Fix some clippy warnings in components/gfx and components/script (#32215) 2024-05-02 20:02:21 +00:00
refcounted.rs clippy: Fix clippy problems in components/script/dom (#31891) 2024-03-27 18:36:16 +00:00
reflector.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
root.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
serializable.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
settings_stack.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
str.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
structuredclone.rs Update mozjs (SpiderMonkey) to 128.0 (#32769) 2024-07-29 07:20:15 +00:00
trace.rs Fix more clippy (#32740) 2024-07-09 04:47:43 +00:00
transferable.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
utils.rs fixed various clippy warnings (#31954) 2024-03-31 19:58:37 +00:00
weakref.rs Replace script_plugins with a clippy like rustc driver (named crown) (#30508) 2023-12-01 15:50:52 +00:00
xmlname.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00