aboutsummaryrefslogtreecommitdiffstats
path: root/components/net
Commit message (Collapse)AuthorAgeFilesLines
* Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23)Anthony Ramine2016-06-271-1/+5
| | | | | I also properly bump any dependency related to the serde_macros removal from webrender_traits
* Use common cookie struct add cookie webdriver cmdsDan Robertson2016-06-253-1/+26
| | | | | One cookie struct to rule them all. One struct to represent them. One cookie struct to bind them all, and through the IPC carry them.
* Auto merge of #11544 - jdm:privatebrowsing, r=asajeffreybors-servo2016-06-201-84/+146
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement private browsing for mozbrowser <!-- Please describe your changes on the following line: --> Support the `mozprivatebrowsing` attribute on mozbrowser iframes. This separates the non-private and private sessions in terms of cookies, HSTS lists, cached HTTP credentials, HTTP connection pools, and web storage. The private session is shared between all private mozbrowsers, and lasts until shutdown. --- <!-- 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] There are tests for these changes <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11544) <!-- Reviewable:end -->
| * Propagate privacy information of iframes to corresponding pipelines. Make ↵Sagar Muchhal2016-06-201-84/+146
| | | | | | | | | | | | iframes of differing privacy values be considered cross-origin. Make the constellation hand out separate private and public channels for the pipeline content to communicate with the resource thread as necessary.
* | Implement filter for file-type input's accept attributeZhen Zhang2016-06-202-20/+34
|/
* Silent warnings in filemanager_thread.rsUK9922016-06-181-4/+4
|
* Implement Blob URL's DOM interfacesZhen Zhang2016-06-171-2/+26
|
* filepickerZhen Zhang2016-06-142-34/+93
|
* Review fixesManish Goregaokar2016-06-112-5/+11
|
* Test fixes; update for changes in specManish Goregaokar2016-06-103-131/+151
|
* Re-support gzipManish Goregaokar2016-06-102-29/+40
|
* Modify request headers for fetchManish Goregaokar2016-06-102-24/+34
|
* Re-add support for fetching chunks (and thus xhr download progress)Manish Goregaokar2016-06-102-12/+74
|
* Test fixes:Manish Goregaokar2016-06-104-62/+86
| | | | | | | | - Hack to stop hitting unreachable on referer - add fetch_done to make sync work - Make datauris work by setting the response URI, spec bug - Allow for empty bodies - Make request bodies work (pass to http, fix fencepost in iter count)
* Use RequestInit instead of LoadData. Make code look like the spec.Manish Goregaokar2016-06-101-23/+6
|
* Net side of XHR fetch integrationManish Goregaokar2016-06-102-2/+38
|
* Revamp Fetch async handling to use a fetch target and done channelsManish Goregaokar2016-06-101-68/+104
|
* Auto merge of #10382 - bobthekingofegypt:fix-websocket-close, r=metajackbors-servo2016-06-101-6/+14
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop client websocket close echoing server close Client initiated close requests should send a close message to the server that the server will echo back to complete the process. Servo should not then echo the servers close request back again to the server, this guard stops servo from echoing a server close request if the process was initiated by the client. Tracked in https://github.com/servo/servo/issues/9803#issuecomment-196424406 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10382) <!-- Reviewable:end -->
| * check close on both incoming/outgoing websocketBob2016-06-101-6/+14
| | | | | | | | | | | | Need to make sure close is only sent to the server once, either from a client initiation or from a server echo. This adds the sent check to both incoming and outgoing threads.
* | Auto merge of #11692 - jdm:language, r=Manishearthbors-servo2016-06-101-1/+19
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | Add a default Accept-Language header to HTTP requests. - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11008 - [X] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11692) <!-- Reviewable:end -->
| * Add a default Accept-Language header to HTTP requests.Josh Matthews2016-06-101-1/+19
| |
* | Auto merge of #11552 - izgzhen:add-testing-fix-filemanager, r=Manishearthbors-servo2016-06-091-46/+38
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve implementation and add testing regarding file manager thread First there is a more completed unit test. And in the test running, I found a runtime error `Serde(Custom("bincode does not support Deserializer::deserialize))` when reading response from file manage thread. I analyzed a bit and found that it is probably caused by the `Uuid` field. I temporarily work around it by making the `Id` essentially a string wrapped inside `SelectedFileId`. Related to PR #11131. <!-- Please describe your changes on the following line: --> --- <!-- 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 <!-- Either: --> - [x] There are tests for these changes <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11552) <!-- Reviewable:end -->
| * | Add unit testing to file manager; Replace uuid by stringified version in ↵Zhen Zhang2016-06-101-46/+38
| | | | | | | | | | | | FileManagerThreadMsg
* | | Add mach command to update public domain list and use a HashSet instead of a ↵Florian Duraffourg2016-06-092-5960/+76
| | | | | | | | | | | | Vec to lookup public domains
* | | Auto merge of #11640 - servo:rustup, r=Ms2gerbors-servo2016-06-081-1/+0
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Update Rust to 1.11.0-nightly (ec872dc8a 2016-06-07) <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11640) <!-- Reviewable:end -->
| * | Update Rust to 1.11.0-nightly (ec872dc8a 2016-06-07)Anthony Ramine2016-06-081-1/+0
| | |
* | | Add blob loaderZhen Zhang2016-06-063-0/+136
|/ /
* | Auto merge of #11593 - jdm:netmon, r=noxbors-servo2016-06-052-23/+62
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the net monitor panel in FF's devtools show meaningful output. <!-- Please describe your changes on the following line: --> 1. Advertise support for the network monitor in the initial protocol communication. 1. Only notify the developer tools server about the final request in an HTTP transaction. 1. Add timing information for connecting to the HTTP server and sending the HTTP request. 1. Reduce duplication between various networkEventUpdate structures by creating a helper function that merges two JSON structures together. This also corrects the JSON structure so the devtools client interprets the output correctly. 1. Calculate various header size fields correctly. 1. Remove unnecessary usize->u32 casts by making the appropriate fields usize. 1. Add header values to request and response header messages. 1. Support triggering page reloads via the devtools client. I apologize that these aren't broken apart. I was making a lot of changes trying to figure out why the panel wasn't working right, and a lot of them were tangled together. --- <!-- 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 do not require tests because there are no automated tests for the devtools server. <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11593) <!-- Reviewable:end -->
| * Make the net monitor panel in FF's devtools show meaningful output.Josh Matthews2016-06-062-23/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | 0) Advertise support for the network monitor in the initial protocol communication. 1) Only notify the developer tools server about the final request in an HTTP transaction. 2) Add timing information for connecting to the HTTP server and sending the HTTP request. 3) Reduce duplication between various networkEventUpdate structures by creating a helper function that merges two JSON structures together. This also corrects the JSON structure so the devtools client interprets the output correctly. 4) Calculate various header size fields correctly. 5) Remove unnecessary usize->u32 casts by making the appropriate fields usize. 6) Add header values to request and response header messages. 7) Support triggering page reloads via the devtools client.
* | Auto merge of #11580 - szeged:allowedservices, r=jdmbors-servo2016-06-051-3/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allowed services support <!-- Please describe your changes on the following line: --> --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because there are no webbluetooth test api implementation yet. <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11580) <!-- Reviewable:end -->
| * | Allowed services supportzakorgy2016-06-041-3/+20
| |/
* | Auto merge of #11576 - rwakulszowa:net-filemanager-idmap-drop-refcell, r=noxbors-servo2016-06-031-6/+5
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Dropped references to RefCell. Removed RefCell references from net/filemanager_thread.rs --- <!-- 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 #11466 <!-- Either: --> - [X] These changes do not require tests because @jdm said so :) <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11576) <!-- Reviewable:end -->
| * Dropped references to RefCell.rwakulszowa2016-06-021-6/+5
| | | | | | | | Closes #11466
* | Auto merge of #11468 - rebstar6:refPol4, r=noxbors-servo2016-06-021-6/+12
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement meta referrer policy delivery (3) <!-- Please describe your changes on the following line: --> --- <!-- 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 #10311 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11468) <!-- Reviewable:end -->
| * | Add meta-referrer support for documentsRebecca2016-06-021-6/+12
| |/
* | Auto merge of #11523 - szeged:random_id, r=jdmbors-servo2016-06-023-3/+28
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add random Device ID generation <!-- Please describe your changes on the following line: --> The [spec](https://webbluetoothcg.github.io/web-bluetooth/#add-an-allowed-bluetooth-device) (2. step) defines that the device id can't be the public address, therefore we generate a random id. --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because there are no webbluetooth test api implementation yet. <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11523) <!-- Reviewable:end -->
| * | Add random Device ID generationfokinv2016-06-023-3/+28
| | |
* | | Auto merge of #11497 - ↵bors-servo2016-06-012-2/+4
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ab22:11467-resource-threads-race-with-shutdown-to-write-out-data, r=Ms2ger send a reply when thread is done exiting <!-- Please describe your changes on the following line: --> --- <!-- 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 #11467 <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because: in this case if code compiles then it's good enough. <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11497) <!-- Reviewable:end -->
| * | send a reply when thread is done exitingAbelardo E. Mendoza2016-05-302-2/+4
| |/ | | | | | | | | | | | | | | | | | | fixed failing tests fix tests handle error instead of just unwrappng it create a channel per thread and update tests with a call to rx.recv().unwrap()
* | Auto merge of #11503 - szeged:adapter_macro, r=jdmbors-servo2016-05-301-44/+20
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add macro to match the adapter <!-- Please describe your changes on the following line: --> Refactor WebBluetooth Adapter code. --- <!-- 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 do not require tests because there are no webbluetooth tests yet. <!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11503) <!-- Reviewable:end -->
| * | Add macro to match the adapterfokinv2016-05-301-44/+20
| |/
* | Handle origin when blocking contentAnthony Ramine2016-05-301-1/+6
| |
* | Process content blocker rules in the HTTP loader.Josh Matthews2016-05-301-4/+42
| |
* | Read the content blocking rules and make them available to the HTTP loader.Josh Matthews2016-05-305-2/+42
|/
* Remove empty lines following braces.Josh Matthews2016-05-277-43/+0
|
* Report use statements that use {} with only one entryCullen Rhodes2016-05-272-3/+3
|
* Auto merge of #11367 - szeged:included_services, r=jdmbors-servo2016-05-261-0/+67
|\ | | | | | | | | | | | | | | | | | | | | | | | | Extend WebBluetooth with included services - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [X] These changes do not require tests because there are no webbluetooth tests yet <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11367) <!-- Reviewable:end -->
| * Add included servicesAttila Dusnoki2016-05-241-0/+67
| |
* | Auto merge of #11269 - szeged:discovery, r=jdmbors-servo2016-05-261-6/+52
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Extend WebBluetooth with discovery session and dialog 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 --faster` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [X] These changes do not require tests because the there are no webbluetooth tests ye. 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11269) <!-- Reviewable:end -->
| * | Add list dialogAttila Dusnoki2016-05-261-2/+41
| | |