Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace .map_or(false with Option::is_some_and (#33468) | Simon Wülker | 2024-09-16 | 1 | -2/+2 |
| | | | Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> | ||||
* | clippy: Fix suggestions in `script`, `libservo`, and `servoshell` (#33453) | Ali | 2024-09-14 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * fix clone on copy warning in servoshell Signed-off-by: Ali Zein Yousuf <azy5030@gmail.com> * Remove unecessary borrow in libservo Signed-off-by: Ali Zein Yousuf <azy5030@gmail.com> * Ignore too many arguments warning on create_constellation() Signed-off-by: Ali Zein Yousuf <azy5030@gmail.com> * fix explicit auto-deref warning Signed-off-by: Ali Zein Yousuf <azy5030@gmail.com> * Autofix multiple clippy warnings in components/script Signed-off-by: Ali Zein Yousuf <azy5030@gmail.com> --------- Signed-off-by: Ali Zein Yousuf <azy5030@gmail.com> | ||||
* | jsstring_to_str should accept a NonNull argument for the JS string (#33306) | Andriy Sultanov | 2024-09-05 | 1 | -1/+1 |
| | | | | | | Instead of asserting the raw pointer is not null, force callers to produce a NonNull pointer. Signed-off-by: Andriy Sultanov <sultanovandriy@gmail.com> | ||||
* | Replace null-byte terminated string literals with C-string literals (#32716) | Bumsoo Kim | 2024-07-06 | 1 | -1/+1 |
| | | | | | | | | | | | | | * simple conversion from byte string to c-string Signed-off-by: Bum Kim <bumcrystlbum@gmail.com> * convert byte strings to c-strings to c_char ptr Signed-off-by: Bum Kim <bumcrystlbum@gmail.com> --------- Signed-off-by: Bum Kim <bumcrystlbum@gmail.com> | ||||
* | clippy: Fix several warnings in `components/script/dom/bindings` (#31945) | Azhar Ismagulova | 2024-04-03 | 1 | -2/+2 |
| | | | | | | | | | * clippy: fix several warnings in components/script/dom/bindings * fix: allow non_canonical_clone_impl in components/script/dom/bindings * chore: removed unnecessary curly braces * fix: removed vtable_address_comparisons allow | ||||
* | deref on an immutable reference (#31899) | Rosemary Ajayi | 2024-03-28 | 1 | -1/+1 |
| | |||||
* | clippy: Fix `explicit_auto_deref` warnings in `components/script` (#31837) | Oluwatobi Sofela | 2024-03-23 | 1 | -1/+1 |
| | | | | | | | | | * clippy: Fix explicit auto-deref warnings * clippy: Fix explicit auto-deref warnings * refactor: Tidy up code * refactor: Fix method not found errors | ||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -35/+30 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Replace use of the deprecated RUST_SYMBOL_TO_JSID by SymbolId | The Capyloon Team | 2023-01-16 | 1 | -11/+4 |
| | |||||
* | Format. | Josh Matthews | 2022-11-23 | 1 | -2/+6 |
| | |||||
* | Changes for spidermomkey upgrade. | Josh Matthews | 2022-11-23 | 1 | -46/+39 |
| | |||||
* | fix(script): don't pass an unrooted slice to `from_rooted_slice` | yvt | 2021-07-28 | 1 | -1/+6 |
| | |||||
* | style(script): add underscore to unused parameter | yvt | 2021-07-27 | 1 | -4/+3 |
| | |||||
* | refactor(script): squash `CGDOMJSProxyHandler_set` | yvt | 2021-07-26 | 1 | -0/+44 |
| | | | | | | The implementation in `crate::dom::bindings::proxyhandler:: maybe_cross_origin_set_rawcx` is now directly assigned to `ProxyTraps:: set`. | ||||
* | doc(script): fix comments | yvt | 2021-07-26 | 1 | -4/+4 |
| | | | | | `History` is not a maybe-cross-origin object. I must have been very sleepy when I wrote this. | ||||
* | refactor(script): apply suggestions | yvt | 2021-07-25 | 1 | -30/+24 |
| | |||||
* | refactor(script): apply suggestion | yvt | 2021-07-25 | 1 | -2/+1 |
| | | | Co-authored-by: Josh Matthews <josh@joshmatthews.net> | ||||
* | style(script): address `test-tidy` errors | yvt | 2021-07-17 | 1 | -1/+1 |
| | |||||
* | feat(script): implement the last step of `CrossOriginOwnPropertyKeys` | yvt | 2021-07-17 | 1 | -7/+39 |
| | |||||
* | doc(script): improve comments in `proxyhandler.rs` | yvt | 2021-07-17 | 1 | -7/+23 |
| | |||||
* | feat(script): Implement `[[Set]]` for `Location` | yvt | 2021-07-17 | 1 | -0/+66 |
| | |||||
* | feat(script): Implement `[[{Get,Set}PrototypeOf]]` for `Location` | yvt | 2021-07-17 | 1 | -12/+114 |
| | |||||
* | feat(script): implement some of the non-ordinary internal methods of `Location` | yvt | 2021-07-16 | 1 | -3/+341 |
| | | | | | | | | | | | | | | | <https://html.spec.whatwg.org/multipage/#the-location-interface> - `[[GetPrototypeOf]]`: not yet - `[[SetPrototypeOf]]`: not yet - `[[IsExtensible]]`: `proxyhandler::is_extensible` - `[[PreventExtensions]]`: `proxyhandler::prevent_extensions` - `[[GetOwnProperty]]`: `CGDOMJSProxyHandler_getOwnPropertyDescriptor` (updated) - `[[DefineOwnProperty]]`: `CGDOMJSProxyHandler_defineProperty` (updated) - `[[Get]]`: `CGDOMJSProxyHandler_get` (updated) - `[[Set]]`: not yet - `[[Delete]]`: `CGDOMJSProxyHandler_delete` (updated) - `[[OwnPropertyKeys]]`: `CGDOMJSProxyHandler_ownPropertyKeys` (updated) | ||||
* | Update SpiderMonkey | Anthony Ramine | 2020-03-06 | 1 | -1/+5 |
| | |||||
* | Upgrade to Spidermonkey 67. | Josh Matthews | 2019-06-26 | 1 | -33/+1 |
| | |||||
* | Update MPL license to https (part 3) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -4/+4 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | Format script component | chansuke | 2018-09-19 | 1 | -41/+56 |
| | |||||
* | Upgraded to SM 60 | Alan Jeffrey | 2018-08-20 | 1 | -14/+8 |
| | |||||
* | Adapt Servo for mozjs 0.6 and the changes introduced in servo/rust-mozjs#393 | Marcin Mielniczuk | 2018-03-28 | 1 | -26/+35 |
| | |||||
* | Fix tyvar_behind_raw_pointer warnings | Simon Sapin | 2018-01-10 | 1 | -4/+4 |
| | | | | https://github.com/rust-lang/rust/issues/46906 | ||||
* | Remove a workaround for https://github.com/rust-lang/rfcs/issues/718 | Bastien Orivel | 2017-11-01 | 1 | -7/+2 |
| | |||||
* | Make {get,ensure}_expando_object unsafe. | Ms2ger | 2017-02-07 | 1 | -20/+16 |
| | | | | They trust the caller-provided raw pointers to be valid. | ||||
* | Properly root expando objects. | Ms2ger | 2017-02-07 | 1 | -11/+13 |
| | |||||
* | Update js. | Ms2ger | 2016-11-02 | 1 | -1/+1 |
| | |||||
* | Pass a MutableHandle to fill_property_descriptor. | Ms2ger | 2016-09-27 | 1 | -1/+1 |
| | |||||
* | Reorder `use` statements | UK992 | 2016-09-09 | 1 | -5/+6 |
| | |||||
* | Check for shadowing properties on DOM proxies. Fixes #12357. | Josh Matthews | 2016-08-25 | 1 | -6/+20 |
| | |||||
* | Pass real values to the proxy handler setup. | Josh Matthews | 2016-08-25 | 1 | -3/+19 |
| | |||||
* | Update SpiderMonkey to m-c bcf4ff0c3eef. | Ms2ger | 2016-07-28 | 1 | -0/+21 |
| | | | | | | This currently breaks Servo on Android, because there are a number of interdependent changes that cannot easily land serially in a way that keeps it working throughout. We expect to fix this in the near future. | ||||
* | Switch to using the new rooted!/RootedGuard API for rooting. | Eduard Burtescu | 2016-07-04 | 1 | -6/+7 |
| | |||||
* | Update SpiderMonkey | Anthony Ramine | 2016-05-03 | 1 | -8/+7 |
| | |||||
* | Update to Rust 2016-03-18. | Ms2ger | 2016-03-20 | 1 | -2/+3 |
| | |||||
* | Make fill_property_descriptor take a flags argument | Anthony Ramine | 2016-02-23 | 1 | -3/+3 |
| | |||||
* | Rustfmt some of script. | Ms2ger | 2015-11-18 | 1 | -21/+29 |
| | |||||
* | Support the updated spidermonkey bindings | Michael Wu | 2015-10-14 | 1 | -18/+17 |
| | |||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -8/+7 |
| | |||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -1/+0 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | Remove needless returns | Manish Goregaokar | 2015-09-04 | 1 | -3/+3 |
| |