aboutsummaryrefslogtreecommitdiffstats
path: root/components/net_traits
Commit message (Collapse)AuthorAgeFilesLines
...
* Refactor ImageCache::find_image_or_metadata API.Julien Tregoat2020-04-171-5/+33
|
* allow for a service worker network mediator per originGregory Terzian2020-04-051-3/+3
|
* Update content-security-policy.Josh Matthews2020-03-251-1/+1
|
* Remove syn 0.15 from our crate graph (fixes #24421)Anthony Ramine2020-03-052-6/+6
| | | | | | | | | | This required bumps of: * gleam * image * rust-webvr * webrender * webxr
* Auto merge of #25740 - gterzian:per_fetch_filemanager_handle, r=Manishearthbors-servo2020-02-251-1/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Per fetch file token for blob url <!-- Please describe your changes on the following line: --> Depends on https://github.com/servo/servo/pull/25724 First step of https://github.com/servo/servo/issues/25226 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
| * add a fetch token for blob urlsGregory Terzian2020-02-211-1/+14
| |
* | Update ipc-channel and crossbeam-channel.Josh Matthews2020-02-201-1/+1
| |
* | Handle access-control header wildcardsPatrick Shaughnessy2020-02-141-5/+3
|/
* Fix some warnings in future Rust nightliesSimon Sapin2020-01-021-3/+2
|
* Auto merge of #24123 - gterzian:redo_blob, r=jdmbors-servo2019-12-191-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Restructure Blob, structured serialization <!-- Please describe your changes on the following line: --> FIX #24052 and also address the "cloning" half of FIX #23917 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24123) <!-- Reviewable:end -->
| * re-structure blob, structured serializationGregory Terzian2019-12-111-1/+1
| |
* | Now just one is_cors_safelisted_request_header, with closer spec alignmentPatrick Shaughnessy2019-12-161-0/+103
|/
* Use non-IPC webrender API over explicit IPC channels.Josh Matthews2019-11-273-2/+33
|
* check same-origin and url against the blob beign revokedShinichi Morimoto2019-11-181-2/+10
|
* Update rand to 0.7 (fixes #24448)Anthony Ramine2019-10-231-1/+1
|
* Auto merge of #24508 - pajamapants3000:21254, r=jdmbors-servo2019-10-222-1/+241
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add start_time to resource timing. <!-- Please describe your changes on the following line: --> `start_time` property added to `ResourceFetchTiming`, which enables the setting of `start_time` in the `PerformanceEntry` member of `PerformanceResourceTiming`. Following the specification at https://w3c.github.io/resource-timing/#dfn-starttime, `start_time` is set to the value of `redirect_start` if redirection occurs and the timing allow check passes. Otherwise it has the same value as `fetch_start`. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #21254 <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
| * Minor assert message edits for consistencyTommy2019-10-201-5/+2
| |
| * Add start_time to resource timing.Tommy Lincoln2019-10-202-1/+244
| |
* | Add simple implementation of content-security-policy on scripts / stylesMichael Howell2019-10-162-31/+16
|/ | | | | | | | This needs a lot more hooks before it'll actually be a good implementation, but for a start it can help get some feedback on if this is the right way to go about it. Part of servo/servo#4577
* Auto merge of #23990 - tomasdivito:add-secure-connection-start, r=jdmbors-servo2019-10-101-0/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add secure connection start Implementing `secure_connection_start` as well as we can, this is related to #21268 We are setting the value as well as we can since we don't have a way to know if we are currently using a secure transport or where the handshake before the connection is done as the spec says on the step 15 [https://w3c.github.io/resource-timing/#sec-process](https://w3c.github.io/resource-timing/#sec-process) Regarding the Timing Allow Check, that's being done on another PR by another person which will take care of setting the rest of the values on `PerformaceResourceTiming` to Zero and prevent them to set them any other way. I'm currently setting the `secure_connection_time` using `precise_time_ms()` as the `connection_start` and `connection_end` are set that way... but other attributes inside `PerformanceResourceTiming` are set using `precise_time Another thing, the issue talks about setting `redirect_start` but I'm not really sure if it's related, if so I can look up into that too... I might have just read and thought it was all about secure connection start. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [ ] These changes fix #21268 <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23990) <!-- Reviewable:end -->
| * implemented secure_connection_startTomas Di Vito2019-10-101-0/+6
| |
* | Support CORS attributes for image elements.Josh Matthews2019-10-042-2/+12
| |
* | Double key image cache by requesting origin, and store CORS status with ↵Josh Matthews2019-10-042-2/+17
| | | | | | | | cached images.
* | Remove unused dependenciesShotaro Yamada2019-10-011-2/+0
|/
* Move ResourceFetchTiming into ArcJaved Nissar2019-09-181-5/+8
| | | | | | | | | | | The purpose of this commit is to ensure that the Response object has access to Timing updates as previously the Response object simply stored a ResourceFetchTiming struct so updates on ResourceFetchTiming that were not explicitly done on the Response would not be passed down. The references to ServoArc are added because Response uses servo_arc::Arc rather than std::sync::Arc as is used elsewhere. So, we've switched those other places to servo_arc::Arc instead of switching Response to std::sync::Arc.
* Add PerformanceResourceTiming: TimingAllowCheckJaved Nissar2019-09-181-0/+22
| | | | The purpose of this commit is to implement https://w3c.github.io/resource-timing/#dfn-timing-allow-check
* Responding to review commentsAlan Jeffrey2019-09-111-1/+6
|
* Prefetch img and scripts during parsingAlan Jeffrey2019-09-101-0/+15
|
* Update ipc-channel and related dependenciesBastien Orivel2019-08-271-1/+1
|
* Auto merge of #23838 - servo:url-2.0, r=Manishearthbors-servo2019-08-172-14/+27
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the url crate to 2.0 Blocked on: * [x] https://github.com/housleyjk/ws-rs/pull/283 + undoing corresponding `[patch.crates-io]` entry Soft-blocked on: (we could add to the crate duplication allow-list instead) * [x] ~https://github.com/rust-windowing/winit/pull/1066~ - [x] https://github.com/rust-windowing/winit/pull/1076 * [x] https://github.com/servo/media/pull/288 * [ ] https://github.com/servo/webrender/pull/3720 * [x] https://github.com/gobwas/influent.rs/pull/22 * [ ] https://bugzilla.mozilla.org/show_bug.cgi?id=1568540 - [x] https://github.com/seanmonstar/warp/pull/260 - [ ] https://github.com/abonander/multipart/pull/121 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23838) <!-- Reviewable:end -->
| * Update to percent-encoding 2.0Simon Sapin2019-08-172-9/+24
| |
| * Update to url 2.0Simon Sapin2019-08-172-6/+4
| |
* | Update webrender, image, png and raqoteBastien Orivel2019-08-161-1/+1
|/ | | | This will avoid duping png because of the raqote backend
* ISSUE-21257: set redirectEnd on PerformanceResourceTimingThomas Delacour2019-07-191-1/+12
|
* Add PerformanceResourceTiming: domainLookupStartKamil Niski2019-06-301-0/+4
| | | | | | | | | | | | | | Remove wpt tests for domainLookupStart Set ResourceAttribute::DomainLookupTime Move DomainLookupStart timing before HTTP request initialization Change label of domainLookupStart TAO zero test to PASS Adjust the from_resource_timing method to initialize domain_lookup_start value Restore domainLookupsStart test
* Upgrade headers, headers-core, and hyper_serde.Josh Matthews2019-06-133-7/+5
|
* Remove unused code from net and net_traits cratesest312019-06-026-239/+0
|
* Auto merge of #23323 - nehalem501:master, r=jdmbors-servo2019-05-171-1/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement connectStart in PerformanceResourceTiming <!-- Please describe your changes on the following line: --> - Added connectStart where needed (```ResourceFetchTiming```, ```ResourceAttribute```) in ```components/net_traits/lib.rs ``` - Before calling ```client.request``` in ```obtain_response```, we now add the ```connectStart``` attribute (```components/net/http_loader.rs```) - Updated tests to reflect those changes --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [X] These changes fix #21261 (at least partially) <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23323) <!-- Reviewable:end -->
| * Add connectStart in PerformanceResourceTimingTomek LECOCQ2019-05-031-1/+4
| |
* | Introduce parser metadata for requestCYBAI2019-05-111-0/+19
| |
* | Create resource timing entry for sync network fetchpylbrecht2019-05-081-32/+0
|/
* Auto merge of #23090 - miller-time:nav-fetch-referrer, r=gterzianbors-servo2019-04-251-9/+5
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add referrer to navigation fetch request <!-- Please describe your changes on the following line: --> Implement step 13 of [following hyperlinks](https://html.spec.whatwg.org/#following-hyperlinks-2) and step 14.3 of [window open](https://html.spec.whatwg.org/#window-open-steps), as well as other referrer- and fetch-related updates. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22890 (GitHub issue number if applicable) <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because ___ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23090) <!-- Reviewable:end -->
| * set referrer in window.load_urlRussell Cousineau2019-04-191-9/+5
| | | | | | | | | | | | | | | | - 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"
* | ISSUE-21263: implemented attribute setting in http loaderThomas Delacour2019-04-231-1/+4
|/
* Add webdriver deletecookies functionaditj2019-04-191-0/+1
|
* Implementing the builder pattern for RequestInitLucas Fantacuci2019-04-102-46/+143
|
* Add connectEnd attribute to PerformanceResourceTiming interfacepylbrecht2019-04-041-1/+4
|
* Auto merge of #22973 - paulrouget:wrupdate, r=emiliobors-servo2019-03-221-1/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | WR update ~Need https://github.com/tomaka/winit/issues/803~ @emilio can I ask you to look at the *"WR udpate: layout"* commit? There are a few changes I'm not sure about (should_inflate, the new filters_data and cache_tiles). Fix: #22993 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22973) <!-- Reviewable:end -->
| * WR update: dependencies updatePaul Rouget2019-03-211-1/+1
| |
* | create uuid before sending PromoteMemory messageRussell Cousineau2019-03-181-8/+2
|/