servo/components/script/dom/bindings
Daniel Adams 4e4b137eaa
bindings: Allow Guard to take multiple conditions, check for SecureContext in ConstructorEnabled (#33508)
* Update condition handling for exposing values

- Let Guard take a list of conditions
- Check for secure context condition when exposing constructor

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Update WPT expectations

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Python tidy

Signed-off-by: Daniel Adams <msub2official@gmail.com>

* Make interfaces test run in secure context

Signed-off-by: Daniel Adams <msub2official@gmail.com>

---------

Signed-off-by: Daniel Adams <msub2official@gmail.com>
2024-09-21 09:50:05 +00:00
..
codegen bindings: Allow Guard to take multiple conditions, check for SecureContext in ConstructorEnabled (#33508) 2024-09-21 09:50:05 +00:00
buffer_source.rs webgpu: Sync GPUBuffer (#33154) 2024-08-27 07:54:55 +00:00
callback.rs clippy: Fix a bunch of warnings in script (#32680) 2024-07-04 11:40:23 +00:00
cell.rs Fix incorrect documentation and add track_caller to DomRefCell methods (#33111) 2024-08-19 07:24:38 +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 jsstring_to_str should accept a NonNull argument for the JS string (#33306) 2024-09-05 03:25:49 +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 bindings: Allow Guard to take multiple conditions, check for SecureContext in ConstructorEnabled (#33508) 2024-09-21 09:50:05 +00:00
htmlconstructor.rs Propagate CanGc from Document::new() (#33386) 2024-09-09 22:38:01 +00:00
import.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +00:00
inheritance.rs Use global exports from derives (#33169) 2024-08-25 13:58:09 +00:00
interface.rs fix: Replace callargs_is_constructing with is_constructing method (#33101) 2024-08-18 01:48:39 +00:00
iterable.rs Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +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 .map_or(false with Option::is_some_and (#33468) 2024-09-16 10:03:52 +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 Start marking functions that can transitively trigger a GC (#33144) 2024-08-22 11:42:36 +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 Propagate CanGc from Document::new() (#33386) 2024-09-09 22:38:01 +00:00
str.rs Fix rustdoc problems (#33458) 2024-09-14 18:32:41 +00:00
structuredclone.rs Update mozjs (SpiderMonkey) to 128.0 (#32769) 2024-07-29 07:20:15 +00:00
trace.rs webgpu: Factor out swapchain to separate file (#33367) 2024-09-09 13:29:04 +00:00
transferable.rs rustdoc: Fix many rustdoc errors (#31147) 2024-01-22 13:13:48 +00:00
utils.rs tidy: Fix rustdoc warnings and add a tidy check for a common URL issue (#33366) 2024-09-08 15:04:19 +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