Muhammad Mostafa
bb368dbb12
script: Add error messages in StaticRange ( #43260 )
...
Adds specific InvalidNodeType error messages in StaticRange for
Constructor().
Part of [#40756 ](https://github.com/servo/servo/issues/40756 )
Signed-off-by: Mohamed Mostafa <mohamedmoustafaa1998@gmail.com >
2026-04-05 12:40:03 +00:00
Anonmiraj
b207be05d9
change some allows to expects ( #41040 )
...
Changed some allow to expects and removed the unfulfilled expectations.
Testing: Refactor
Part of: #40383
Signed-off-by: anonmiraj <nabilmalek48@gmail.com >
2025-12-05 07:23:32 +00:00
Ashwin Naren
e0eb23ce18
script: Finish converting all error message enum variants to Option<String> ( #40750 )
...
I used find and replace to finish the job. All this PR does is replace
all `Error::<error_name>` occurrences with `Error::<error_name>(None)`.
Testing: Refactor
Fixes : #39053
Signed-off-by: Ashwin Naren <arihant2math@gmail.com >
2025-11-20 06:20:47 +00:00
webbeef
3225d19907
cargo: Bump rustc to 1.89 ( #36818 )
...
Update Rustc to 1.89.
Reviewable by commit.
Leftover work:
- #37330
- #38777
---------
Signed-off-by: sagudev <16504129+sagudev@users.noreply.github.com >
Co-authored-by: sagudev <16504129+sagudev@users.noreply.github.com >
2025-08-19 11:07:53 +00:00
Josh Matthews
c94d909a86
script: Limit public exports. ( #34915 )
...
* script: Restrict reexport visibility of DOM types.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* script: Mass pub->pub(crate) conversion.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* script: Hide existing dead code warnings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Fix clippy warnings.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Fix unit tests.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Fix clippy.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* More formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2025-01-10 08:19:19 +00:00
Josh Matthews
e956f3124c
Generate a trait abstracting over all known DOM interfaces ( #34357 )
...
* script: Generate trait for all DOM interfaces and parameterize generated Methods traits over it.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* script: Update trait implementations with new generic type.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Formatting.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-11-24 07:35:14 +00:00
Josh Matthews
60ef6bc461
Start marking functions that can transitively trigger a GC ( #33144 )
...
* Mark JS reflector wrappers as CanGc.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Propagate CanGc from reflect_dom_object_with_proto.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
* Mark DOM constructors as GC operations.
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
---------
Signed-off-by: Josh Matthews <josh@joshmatthews.net >
2024-08-22 11:42:36 +00:00
cathiechen
cb275e086c
Implement StaticRange ( #31809 )
...
* Add DOM interface for AbstractRange
* Add DOM interface for StaticRange
* Update WPT tests for StaticRange-constructor.html
* Fix formatting
* Add AbstractRange & StaticRange in interfaces.html
* rebased the code and fixed the failures
Signed-off-by: Cathie Chen <cathiechen@igalia.com >
* update the expected result in idlharness.window.js.ini file
* Addressed the code review comments
* updae the test result of legacy layout
---------
Signed-off-by: Cathie Chen <cathiechen@igalia.com >
Co-authored-by: Nipun Garg <nipung271@gmail.com >
2024-03-22 15:02:01 +00:00