aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/url.rs
Commit message (Collapse)AuthorAgeFilesLines
* Set query to None when no search paramsCYBAI2019-01-101-4/+9
|
* Implement URL's toJSON()CYBAI2018-12-241-0/+5
|
* Update MPL license to https (part 3)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Update uuidBastien Orivel2018-11-091-1/+1
|
* Reorder importsPyfisch2018-11-061-2/+2
|
* Manually format remaining problemsPyfisch2018-11-061-6/+3
| | | | | | | | | Use line comments instead of block comments as block comments contain trailing whitespace after formatting with rustfmt. Skip tests for malloc_size_of and script_plugins with rustfmt as they have many block comments.
* Format remaining filesPyfisch2018-11-061-2/+2
|
* `cargo fix --edition`Simon Sapin2018-11-061-10/+10
|
* Format script componentchansuke2018-09-191-18/+26
|
* Implements profiler for blocked recvNakul Jindal2018-03-221-2/+2
|
* Remove use of unstable box syntax.Simon Sapin2017-10-161-1/+1
| | | | | | | | | | | | | | | | | | | | http://www.robohornet.org gives a score of 101.36 on master, and 102.68 with this PR. The latter is slightly better, but probably within noise level. So it looks like this PR does not affect DOM performance. This is expected since `Box::new` is defined as: ```rust impl<T> Box<T> { #[inline(always)] pub fn new(x: T) -> Box<T> { box x } } ``` With inlining, it should compile to the same as box syntax.
* Rename Root<T> to DomRoot<T>Anthony Ramine2017-09-261-4/+4
| | | | | | | In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>, where Root<T> will be able to handle all the things that need to be rooted that have a stable traceable address that doesn't move for the whole lifetime of the root. Stay tuned.
* Rename DOMRefCell<T> to DomRefCell<T>Anthony Ramine2017-09-261-3/+3
| | | | | | | | I don't want to do such a gratuitous rename, but with all the other types now having "Dom" as part of their name, and especially with "DomOnceCell", I feel like the other cell type that we already have should also follow the convention. That argument loses weight though when we realise there is still DOMString and other things.
* Rename MutNullableJS<T> to MutNullableDom<T>Anthony Ramine2017-09-261-2/+2
|
* Rename dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10)Simon Sapin2017-08-151-2/+2
|
* Remove some useless Option<T> wrappers from ServoUrl methodsAnthony Ramine2017-03-261-3/+2
|
* Make ServoUrl::as_url return a &UrlAnthony Ramine2017-03-231-1/+1
|
* Remove support for Blob::{close, isClosed}Charles Vandevoorde2017-02-281-11/+1
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Remove unused part of the return value of parse_blob_url().Ms2ger2017-01-301-1/+1
|
* Remove HeapGCValueAnthony Ramine2016-12-121-2/+2
| | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS.
* Rename `Reflectable` to `DomObject`.Corey Farwell2016-12-081-1/+1
| | | | Fixes https://github.com/servo/servo/issues/8473.
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-12/+13
|
* Remove URL.domainToASCII and URL.domainToUnicodeMathieu Rheaume2016-10-251-20/+1
|
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-1/+1
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-11/+9
|
* Introduce GlobalScope::resource_threadsAnthony Ramine2016-10-061-2/+3
|
* Introduce GlobalScope::get_urlAnthony Ramine2016-10-061-2/+2
|
* Introduce Reflectable::global_scopeAnthony Ramine2016-10-061-1/+1
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-3/+6
|
* Reorder `use` statementsUK9922016-09-091-2/+2
|
* Burn SelectedFileId in fireZhen Zhang2016-08-221-6/+5
|
* Add cancellability to file manager load and related refactoringZhen Zhang2016-08-021-3/+3
|
* Put Blob URL onlineZhen Zhang2016-07-151-17/+5
|
* Add FileID validity setting/checking logic to Blob URL implementationZhen Zhang2016-07-111-5/+4
|
* Spawn threads for requests in file manager and other style fixesZhen Zhang2016-07-081-11/+11
|
* Integration and improvements of File API backendsZhen Zhang2016-07-041-32/+8
| | | | | | 1. More complete origin check in FileManagerThreadMsg 2. Add reference counting logic to file manage store and script API 3. Integrate the support of slicing
* Fix Blob URL origin when scheme is fileZhen Zhang2016-07-031-1/+14
|
* Implement Blob URL's DOM interfacesZhen Zhang2016-06-171-0/+91
|
* Implement URL.domainToUnicodeAchal Shah2016-06-061-0/+5
|
* Move DOMString back to scriptAnthony Ramine2016-05-241-2/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Reset searchParam in URL.href setterSimon Sapin2016-04-231-0/+1
| | | | https://github.com/whatwg/url/issues/117
* Correctly initialize URL.searchParamsSimon Sapin2016-04-231-0/+4
|
* Upgrade to rust-url 1.0 and hyper 0.9Simon Sapin2016-04-231-15/+10
|
* Remove URL.base (it was removed from the spec)Stjepan Glavina2016-04-061-24/+18
| | | | Spec: https://url.spec.whatwg.org/#concept-url-url
* Implement URL.searchParamsStjepan Glavina2016-04-051-4/+27
| | | | Spec: https://url.spec.whatwg.org/#dom-url-searchparams
* add origin to location and url apiChandler Abraham2016-01-211-0/+5
|
* Replaced DOMString constructor by conversion functions.Alan Jeffrey2015-11-121-1/+1
| | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("...").
* Make DOMString a newtype around String, rather than a typedef.Ms2ger2015-11-041-1/+1
| | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type.