aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/net/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Merge net and net_testsAnthony Ramine2018-01-201-112/+0
|
* Make tests/units/* compile without warnings in non-test modeSimon Sapin2017-12-071-12/+14
| | | | (if not usefully)
* Remove 5 second pause in `./mach test-unit`Simon Sapin2017-11-301-1/+1
| | | The pause is likely due to a Servo bug that I’m about to file, this does not fix the underlying bug.
* Fetch cancellation: Add CancellationListenerManish Goregaokar2017-11-201-3/+3
|
* Fetch cancellation: Add cancel_chan to FetchContextManish Goregaokar2017-11-171-0/+1
|
* Fix some "unused" warningsSimon Sapin2017-06-061-1/+1
|
* Move the HTTP connector in HttpStateAnthony Ramine2017-04-061-2/+0
|
* Move the SSL client in HttpStateAnthony Ramine2017-04-061-2/+2
|
* Add command-line argument to use a custom SSL certificate database.Josh Matthews2017-04-061-1/+3
|
* Move Arc out of HttpStateAnthony Ramine2017-04-031-1/+2
|
* Move the HTTP connector to FetchContextAnthony Ramine2017-04-031-1/+5
|
* Remove all internal mutability from RequestAnthony Ramine2017-04-031-3/+3
|
* Make fetch take a &RequestAnthony Ramine2017-04-031-5/+4
|
* Update Hyper and OpenSSLddh2017-03-311-0/+1
|
* Remove unused content-blocker dependency from unit tests.Ms2ger2017-03-091-1/+0
|
* Kill the plugins crate and its clippy supportAnthony Ramine2017-02-211-3/+0
| | | | | | Sometimes clippy gets outdated by months, and its current support setup means that each Servo component need to opt into it by depending on the plugins crate manually, and not all components do that.
* Implement Subresource Integritymrnayak2017-01-081-0/+1
| | | | | | | | | | | Implemented response validation part of https://w3c.github.io/webappsec-subresource-integrity/. Implemented step eighteen of the main fetch. If a request has integrity metadata, then following steps are performed *Wait for response body *If the response does not have a termination reason and response does not match request’s integrity metadata, set response to a network error.# Please enter the commit message for your changes. Lines starting
* Implement HSTS fetch stepRaghav2016-12-291-1/+1
| | | | | | | | | | | | | | | Implemented step nine of the main fetch. If current URL scheme is 'HTTP' and current URL's host is domain and if current URL's host matched with Known HSTS Host Domain Name Matching results in either a superdomain match with an asserted includeSubDomains directive or a congruent match then we change request scheme to 'https'. This change has been made in method.rs A test case to validate this has been added in fetch.rs. For asserting https scheme, a https localhost was required. For this purpose I have created a self-signed certificate and refactored fetch-context and connector.rs to programmatically trust this certificate for running this test case.
* Make the fetch target non-optional.Ms2ger2016-12-151-6/+6
|
* Introduce fetch_with_cors_cache() API for tests.Ms2ger2016-12-151-0/+12
|
* Use the asynchronous fetching code for fetch_with_context().Ms2ger2016-12-151-5/+5
|
* Use the asynchronous fetching code in unit tests.Ms2ger2016-12-151-4/+0
| | | | | This is the only code that is used in Servo proper, so it's a more useful thing to test.
* Replace fetch_async() by a new fetch() function.Ms2ger2016-12-151-5/+9
| | | | | | fetch() returns immediately after processing EOF, at the latest, so not spinning up a thread should not cause noticeable delays. OTOH, it might reduce the contention for cores, and reduce the overall time needed.
* Introduce fetch_with_context() to reduce repetition.Ms2ger2016-12-151-1/+5
|
* Qualify the fetch() calls in unit tests.Ms2ger2016-12-151-3/+3
|
* Removed util.Alan Jeffrey2016-12-141-1/+1
|
* Pass the UIProvider to FileManager::handle() as needed.Ms2ger2016-11-211-3/+2
|
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-3/+4
|
* Pass a borrowed fetch context to fetch().Ms2ger2016-11-081-2/+2
| | | | This will allow inspecting its state after fetching in unit tests.
* Simplify string handling in make_server.Ms2ger2016-11-071-3/+1
|
* Move make_server to the root of the net unit tests crate.Ms2ger2016-11-071-0/+12
|
* Privatize the http_loader module.Ms2ger2016-11-061-1/+1
|
* Move some helper functions to the root of the net tests crate.Ms2ger2016-11-031-0/+47
|
* Moved pub_domains to net_traits and did a spring clean.Alan Jeffrey2016-09-291-1/+0
|
* Update serde to 0.8 (fixes #12659)Anthony Ramine2016-08-121-0/+1
|
* Add mach command to update public domain list and use a HashSet instead of a ↵Florian Duraffourg2016-06-091-0/+1
| | | | Vec to lookup public domains
* Process content blocker rules in the HTTP loader.Josh Matthews2016-05-301-0/+1
|
* Fix FileManager thread panic and other misc improvementsZhen Zhang2016-05-241-0/+1
| | | | | - Add shut down logic for FileManager thread - Add an unit test for filemanager_thread
* Add timeline markers for HTTP requests, JS evaluation, and HTML parsing.Josh Matthews2016-05-181-0/+1
|
* Add unit tests for cookies base on abarth/http-state github repoFlorian Duraffourg2016-05-171-0/+1
| | | | | - Add unit tests - Add a mach command to update cookie's unit tests
* Make new test use local resources only.Josh Matthews2016-04-201-0/+1
|
* added test for https://github.com/servo/servo/issues/10548Yoav Alon2016-04-181-0/+1
|
* working on implementing Cors Check and Origin to Ascii serialisationNikki2016-02-091-0/+1
|
* Implement a basic test for Fetch and fix errors it findsNikki2016-01-131-0/+1
|
* task -> threadrohan.prinja2016-01-101-1/+1
|
* Implement 'url!(..)' macroCorey Farwell2015-11-211-0/+3
| | | | | | https://github.com/servo/rust-url/issues/136 https://github.com/servo/rust-url/pull/137
* Check in for task 1,4 and 5Abhishek Kumar2015-11-051-0/+1
| | | | | | | | | | | | | | | | | | | | Adding pipelineID to httpresponse message, clearner code for task1 Commit for Refactored task Unit tests Removing extra whitespaces. Removing extra whitespaces. Removing tabs whitespaces Making Code tidier. Style issues Fix Test-tidy Fixes
* tests for devtools integration with network requests/responsesPrabhjyot Singh Sodhi2015-09-251-0/+1
|
* Upgrade rust to f93ab64d4a1a7ee91759a1594ab2a426b6cc657e/rustc-1.5.0-dev.Manish Goregaokar2015-09-231-2/+0
|
* Move HSTS/CookieStorage to Arc<RwLock> from IpcSam Gibson2015-09-191-3/+4
| | | | servo/servo#7421