Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fixed some clippy warnings in components (#32025) | komuhangi | 2024-04-10 | 1 | -2/+1 | |
| | | | | | * Fixed some clippy warnings in components * Updated the simplification of bolean expressions in componets/script/dom/range.rs | |||||
* | clippy: fixed various clippy warnings in `components/scripts` (#31960) | Rosemary Ajayi | 2024-04-01 | 1 | -1/+1 | |
| | | | | | | | | | * fixed various clippy warnings * fixed various clippy warnings * fixed various clippy warnings * fixed various clippy warnings | |||||
* | fix redundant closures in component/script/dom (#31917) | Ekta Siwach | 2024-03-28 | 1 | -2/+2 | |
| | | | | | | | | | | | | | * fixed unnecessary conversions * resolved conflicts * resolved conflicts * fix redundant closures in component/script/dom * resolved conflicts * fixed formatting | |||||
* | WebIDL: Replace `NonNull<JSObject>` in `xmlhttprequest` (#31880) | eri | 2024-03-27 | 1 | -51/+44 | |
| | | | | | | | | | | | * WebIDL: Replace `NonNull<JSObject>` in `xmlhttprequest.rs` * doc: Update functions comments to docstring * fix: Actually allocate `response_arraybuffer` * fix: Change step descriptions * fix: change step numbers | |||||
* | clippy: Fix option_map_unit_fn warnings (#31906) | Oluwatobi Sofela | 2024-03-27 | 1 | -5/+5 | |
| | ||||||
* | clippy: Fix single_match warnings (#31876) | Oluwatobi Sofela | 2024-03-26 | 1 | -54/+51 | |
| | ||||||
* | clippy: Fix collapsible_if warnings (#31852) | Oluwatobi Sofela | 2024-03-25 | 1 | -23/+23 | |
| | ||||||
* | 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 | |||||
* | Fixed the .clone() warnings. (#31819) | Aarya Khandelwal | 2024-03-22 | 1 | -1/+1 | |
| | ||||||
* | clippy: Fix redundant field names warnings (#31793) | Oluwatobi Sofela | 2024-03-20 | 1 | -3/+3 | |
| | ||||||
* | clippy: Fix many warnings in `components/script` (#31717) | Richard Dushime | 2024-03-19 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | * Fix Several clippy warnings * Fix Build errors * Fix Unused import * Fix requested changes * Fix rustfmt * Minor fixes --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | |||||
* | clippy: Fix some warnings in the `script` crate (#31719) | Rosemary Ajayi | 2024-03-18 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | | | | | * Fix InlineFormatting error * BoxFrament * fix clippy error * clippy:fix clipy errors * fix clippy errors * fix clippy errors * fix clippy errors * Remove changes to `layout_2020` --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | |||||
* | Update overrideMimeType and final-charset to match xhr spec (#29812) | cybai (Haku) | 2024-02-28 | 1 | -31/+35 | |
| | | | | | | | | | | | * Update overrideMimeType to match xhr spec * Update final-encoding to match xhr spec * Fix an issue and add more comments --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | |||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -42/+41 | |
| | | | | | * strict imports formatting * Reformat all imports | |||||
* | No tracing of nop traceable fields (#29926) | Samson | 2023-08-04 | 1 | -0/+8 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add `no_trace` option to JSTraceable derive * NoTrace wrapper * Port some types to no_trace schematics * Fixing my unsafe mistakes (not tracing traceables) * Add docs & safety guards for no_trace Safety guards (trait shenanigans) guarantees safety usage of `no_trace` * Port canvas_traits to no_trace * Port servo_media to no_trace * Port net_traits to no_trace * Port style to no_trace * Port webgpu to no_trace * Port script_traits to no_trace * Port canvas_traits, devtools_traits, embedder_traits, profile_traits to no_trace * unrooted_must_root lint in seperate file * Add trace_in_no_trace_lint as script_plugin * Composable types in must_not_have_traceable * Introduced HashMapTracedValues wrapper * `HashMap<NoTrace<K>,V>`->`HashMapTracedValues<K,V>` * Port rest of servo's types to no_trace * Port html5ever, euclid, mime and http to no_trace * Port remaining externals to no_trace * Port webxr and Arc<Mutex<_>> * Fix spelling in notrace doc | |||||
* | Rename reflect_dom_object2. | Josh Matthews | 2023-05-31 | 1 | -2/+2 | |
| | ||||||
* | Formatting. | Josh Matthews | 2023-05-28 | 1 | -3/+10 | |
| | ||||||
* | Support arbitrary protos when wrapping DOM objects with constructors. | Josh Matthews | 2023-05-28 | 1 | -5/+7 | |
| | ||||||
* | Upgrade Hyper | Naveen Gattu | 2022-01-16 | 1 | -1/+1 | |
| | ||||||
* | Update nightly rustc. | Josh Matthews | 2021-11-01 | 1 | -1/+1 | |
| | ||||||
* | Fix `document.characterSet` not reflecting byte order marks. | Andreu Botella | 2020-12-31 | 1 | -2/+2 | |
| | | | | | | | | | | | | | The process of decoding the network byte stream to Unicode is backed by an instance of `encoding_rs::Decoder`, which will switch the encoding it uses if it finds a BOM in the byte stream. However, this change in encoding is not communicated back to the caller and so `document.characterSet` gives the wrong result. This change fixes that. See whatwg/html#5359 and whatwg/encoding#203 for the spec-level backing for this change. Signed-off-by: Andreu Botella <abb@randomunok.com> | |||||
* | Use data_url::Mime to parse the MIME Types | Vincent Ricard | 2020-11-18 | 1 | -19/+48 | |
| | | | | | This commit follows the spectification https://fetch.spec.whatwg.org/#concept-header-extract-mime-type | |||||
* | Implements "upload listener flag" for XHR | Vincent Ricard | 2020-09-24 | 1 | -13/+24 | |
| | ||||||
* | Fix wrong priority for XHR username/password | Vincent Ricard | 2020-09-21 | 1 | -2/+3 | |
| | ||||||
* | Use `asynch` instead of `r#async` | Camelid | 2020-07-16 | 1 | -3/+3 | |
| | | | | | | This is a vestige of the transition from 2015 to 2018 edition Rust. `async` was added as a keyword in 2018 edition Rust, so `cargo fix` changed the variable name here to `r#async`. | |||||
* | ensure clean shutdown of all threads running JS | Gregory Terzian | 2020-06-30 | 1 | -1/+4 | |
| | ||||||
* | Use global.get_referrer() when appropiate | Matthias Deiml | 2020-06-17 | 1 | -9/+6 | |
| | ||||||
* | Make url for "client" referrer mandatory | Matthias Deiml | 2020-06-17 | 1 | -22/+23 | |
| | ||||||
* | update XHR send to use XMLHttpRequestBodyInit | Gregory Terzian | 2020-06-05 | 1 | -29/+11 | |
| | ||||||
* | partially integrate streaming request bodies with http re-direct | Gregory Terzian | 2020-06-04 | 1 | -7/+5 | |
| | ||||||
* | bypass SM for in-memory streams in request bodies, dis-allow other cases in ↵ | Gregory Terzian | 2020-06-04 | 1 | -14/+22 | |
| | | | | sync XHR | |||||
* | integrate readablestream with fetch and blob | Gregory Terzian | 2020-06-04 | 1 | -96/+89 | |
| | ||||||
* | Properly set the url on the Response object when the response is an ↵ | Bastien Orivel | 2020-05-06 | 1 | -1/+1 | |
| | | | | opaqueredirect | |||||
* | Add trait DomObjectWrap to provide WRAP function | YUAN LYU | 2020-03-20 | 1 | -6/+1 | |
| | ||||||
* | Do not include request progress/total values on XHR timeout | Médi-Rémi Hashim | 2020-01-30 | 1 | -10/+18 | |
| | ||||||
* | do less on abort if not done | Patrick Shaughnessy | 2020-01-25 | 1 | -8/+15 | |
| | ||||||
* | Modify `script` to prevent further violations of snake_case | Kunal Mohan | 2020-01-18 | 1 | -0/+1 | |
| | ||||||
* | re-structure blob, structured serialization | Gregory Terzian | 2019-12-11 | 1 | -3/+4 | |
| | ||||||
* | Trim header values in GetResponseHeader | Bastien Orivel | 2019-11-30 | 1 | -2/+4 | |
| | | | | Fixes #24917 | |||||
* | XMLHttpRequest.responseXML returns null when a network error occurs | petosorus | 2019-10-01 | 1 | -1/+6 | |
| | ||||||
* | Remove unused checking | CYBAI | 2019-09-26 | 1 | -6/+0 | |
| | | | | We've supported [Exposed] so no need to check the global scope type! | |||||
* | Remove some usage of unsafe code in XMLHttpRequest | marmeladema | 2019-08-09 | 1 | -21/+21 | |
| | ||||||
* | Convert CGTraitInterface to use safe JSContext instead of raw JSContext | marmeladema | 2019-07-24 | 1 | -14/+17 | |
| | ||||||
* | Fix some new warnings | Simon Sapin | 2019-06-22 | 1 | -1/+1 | |
| | ||||||
* | Upgrade headers, headers-core, and hyper_serde. | Josh Matthews | 2019-06-13 | 1 | -2/+1 | |
| | ||||||
* | Change XHRContext and resource timing information to use request URL instead ↵ | sreeise | 2019-05-24 | 1 | -4/+3 | |
| | | | | of XHR's global URL r?@jdm | |||||
* | Remove mozjs dep from malloc_size_of. | Josh Matthews | 2019-05-02 | 1 | -0/+1 | |
| | ||||||
* | set referrer in window.load_url | Russell Cousineau | 2019-04-19 | 1 | -2/+6 | |
| | | | | | | | | - this conforms to follow-hyperlinks spec step 13 - this conforms to window-open spec step 14.3 - replace uses of `referrer_url` with `referrer` - in Request class, change "no-referrer" to "" - set websocket fetch referrer to "no-referrer" | |||||
* | Make use of RefCell::try_borrow_unguarded | Anthony Ramine | 2019-04-12 | 1 | -2/+0 | |
| | ||||||
* | Implementing the builder pattern for RequestInit | Lucas Fantacuci | 2019-04-10 | 1 | -21/+18 | |
| |