aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/fetch.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove use of unstable box syntax.Simon Sapin2017-10-161-2/+2
| | | | | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | | 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 dom::bindings::js to dom::bindings::rootAnthony Ramine2017-09-261-1/+1
|
* Make Promise::reject_error soundAnthony Ramine2017-09-221-4/+2
|
* Make Promise::resolve_native actually soundAnthony Ramine2017-09-211-3/+1
| | | | | We shouldn't have to pass a raw JSContext pointer, and to enter the promise's context's compartment by hand.
* Rename Runnable to TaskAnthony Ramine2017-09-161-1/+1
| | | | | | | | | | | | The changes are: * `*Runnable` -> `*Task`; * `RunnableMsg` -> `Task`; * `RunnableWrapper` -> `TaskCanceller`; * `MainThreadRunnable` -> `MainThreadTask`; * `wrap_runnable` -> `wrap_task`; * `get_runnable_wrapper` -> `task_canceller`; * `handler` -> `run`; * `main_thread_handler` -> `run_with_script_thread`.
* Change RequestInit origin type to ImmutableOriginFausto Núñez Alberro2017-07-161-4/+1
|
* Introduce service-worker modeKeith Yeung2017-06-221-3/+10
|
* Remove all internal mutability from RequestAnthony Ramine2017-04-031-8/+7
|
* Use RootedTraceableBox for dictionaries.Ms2ger2017-02-161-1/+2
|
* Don't lose information in Fetch APIbd3392017-01-091-4/+15
| | | | Also update test expectations.
* 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-2/+2
|
* Properly implement TaskSource for NetworkingTaskSourceKeith Yeung2016-11-111-2/+2
|
* Implement the constructor for EventSourceKeith Yeung2016-11-111-2/+3
|
* Add redirect_mode to RequestInitRaphael Nestler2016-11-081-0/+1
|
* Remove intrinsic Root::r()Anthony Ramine2016-10-111-2/+2
|
* Rename Reflectable::global_scope to globalAnthony Ramine2016-10-061-3/+3
|
* Remove Reflectable::globalAnthony Ramine2016-10-061-2/+2
|
* Make Fetch take a &GlobalScopeAnthony Ramine2016-10-061-9/+8
|
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::networking_task_sourceAnthony Ramine2016-10-061-1/+1
|
* Introduce GlobalScope::core_resource_threadAnthony Ramine2016-10-061-2/+2
|
* Make Promise::new take a &GlobalScopeAnthony Ramine2016-10-061-2/+3
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-1/+1
|
* Provide the fetched data to fetch() consumers.Ms2ger2016-10-061-3/+10
|
* Squash some build warnings.Ms2ger2016-10-041-2/+2
|
* Remove same-origin-data-url flag from fetch implementationJan Zerebecki2016-10-011-1/+0
| | | | | | | The spec removed it. Check the scheme instead, data is always same origin now, except for workers. This also updates the comments to make step numbers match the spec. Closes #13362
* Implement the Fetch methodJeena Lee2016-09-291-0/+172