aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/websocket.rs
Commit message (Collapse)AuthorAgeFilesLines
* Propagate privacy information of iframes to corresponding pipelines. Make ↵Sagar Muchhal2016-06-201-2/+2
| | | | | | 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.
* Update Blob::{new, new_inherited} to take StringsAchal Shah2016-06-171-1/+1
|
* Add file backend support for Blob and relatedZhen Zhang2016-06-011-5/+4
| | | | | | | | Changes include: - Add BlobImpl to Blob, and related caching mechanism - Expose ResourceThreads to document_loader, workerglobalscope, worker, and global - Fix encode_multipart_form_data - Other small fixes to accommodate the above changes
* Remove empty lines following braces.Josh Matthews2016-05-271-2/+0
|
* Report use statements that use {} with only one entryCullen Rhodes2016-05-271-1/+1
|
* Move DOMString back to scriptAnthony Ramine2016-05-241-2/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Implement trait-based ResourceThreads and clean up related naming issuesZhen Zhang2016-05-201-4/+3
| | | | | | | | | | Changes include: - Introduce an IpcSend trait to abstract over a collection of IpcSenders - Implement ResourceThreads collection to abstract the resource-related sub threads across the component - Rename original ResourceThread and ControlMsg into an unifed CoreResource__ to accommodate above changes and avoid confusions
* Removed unused importsPer Lundberg2016-05-151-2/+0
| | | | This fixes #11185.
* Stop using JSAutoRequest.Ms2ger2016-05-131-2/+1
|
* Rewrite Blob constructor interfaceZhen Zhang2016-05-101-2/+4
|
* Update SpiderMonkeyAnthony Ramine2016-05-031-1/+3
|
* Remove extraneous script_chan parameter from Trusted::newKeith Yeung2016-04-281-8/+6
|
* Upgrade to rust-url 1.0 and hyper 0.9Simon Sapin2016-04-231-2/+2
|
* replace Fallible<()> with ErrorResultDi Xu2016-04-131-4/+4
|
* refactors entities from script_thread into script_runtimeRahul Sharma2016-04-061-2/+3
|
* Update WebSocket blocked ports to match the Fetch specSaurav Sachidanand2016-03-171-8/+14
|
* Trigger WebSocket error eventSam Gibson2016-02-261-14/+12
| | | | Trigger a WebSocket error after receiving an invalid message from the server
* Auto merge of #9683 - kmuszyn:9561-more-thread-source-renamings, r=jdmbors-servo2016-02-181-5/+5
|\ | | | | | | | | | | | | | | | | | | Issue #9561 continued - renamed *_thread_source to *_task_source components/script/dom/bindings/global.rs modified -> all *_thread_source occurrences renamed to *_task_source to comply with spec <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9683) <!-- Reviewable:end -->
| * Issue #9561 continued - renamed *_thread_source to *_task_source in ↵Kamil Muszyński2016-02-171-5/+5
| | | | | | | | global.rs and related files
* | Auto merge of #9662 - rebstar6:websocket_cookies, r=jdmbors-servo2016-02-181-1/+11
|\ \ | |/ |/| | | | | | | | | | | | | | | Add support for websocket cookies Addresses both cookies in request and response. Resolves #9540. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9662) <!-- Reviewable:end -->
| * Add support for websocket request and response cookiesRebecca2016-02-171-1/+11
| | | | | | | | Also change expected behavior to pass for all in tests/wpt/web-platform-tests/websockets/cookies
* | #9640 Refactor: Move util::str::is_token to script::dom::bindings::strPeter2016-02-141-2/+2
| |
* | Remove the global argument to EventTarget::{fire_event, fire_simple_event}.Ms2ger2016-02-081-3/+2
| |
* | Fix #9508: Beautify our union enums constructorsAlexander Lopatin2016-02-071-3/+3
|/
* Make websockets not crash in a worker scopeManish Goregaokar2016-02-041-2/+2
|
* Auto merge of #9400 - jmr0:websocket, r=noxbors-servo2016-01-251-7/+4
|\ | | | | | | | | | | | | | | | | | | Fixing websocket subprotocol header validation This takes care of https://github.com/servo/servo/issues/9034 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9400) <!-- Reviewable:end -->
| * fix websocket header validation, ensure it meets token requirements, addjmr02016-01-241-7/+4
| | | | | | | | testing
* | add origin to location and url apiChandler Abraham2016-01-211-2/+3
|/
* Fix test-tidy errorsJames Sanders2016-01-181-2/+5
|
* Make closing related code more clear and more correctJames Sanders2016-01-181-60/+65
|
* Make WebSocket constructor take (DOMString or sequence<DOMString>)James Sanders2016-01-171-6/+9
|
* Add global default method for Reflectable traitChad Kimes2016-01-111-5/+5
|
* Remove global field from WebSocketChad Kimes2016-01-101-10/+7
|
* task -> threadrohan.prinja2016-01-101-19/+19
|
* Rename fire_simple_event_params to fire_eventBrandon Fairchild2016-01-071-4/+4
| | | | Fixes #9180.
* Changed blob to use DataSlice with Arc in order to limit wasteful copying of ↵David Raifaizen2016-01-061-4/+5
| | | | byte vector
* now panics on integer overflowNikki2015-12-301-2/+1
|
* added a check for buffer overflowNikki2015-12-291-1/+5
|
* updated websocket buffered_amount to be u64 instead of u32Nikki2015-12-291-13/+3
|
* Implement EventTarget::fire_simple_event and ↵Arthur Skobara2015-12-221-9/+5
| | | | EventTarget::fire_simple_event_params
* Auto merge of #8825 - jmr0:master, r=jdmbors-servo2015-12-181-3/+37
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | adding initial support for websocket subprotocol negotation Addresses #8177 I also noticed some bugs/gaps (and at least one of my TODO's can be an E-Easy) cc @jdm <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8825) <!-- Reviewable:end -->
| * adding initial support for websocket subprotocol negotationjmr02015-12-171-3/+37
| |
* | Remove from Trusted::new an unnecessary argumentArthur Skobara2015-12-121-2/+2
|/
* Pass around event types as Atoms instead of StringsCorey Farwell2015-12-101-3/+3
| | | | | | `Event` internally stores the `type` as an `Atom`, and we're `String`s everywhere, which can cause unnecessary allocations to occur since they'll end up as `Atom`s anyways.
* move websocket creation to resource taskNova Fallen2015-12-081-101/+55
|
* Split fn script_chan into 5 different task channel fnKeith Yeung2015-12-061-3/+3
|
* Auto merge of #8787 - Jayflux:hotfix/8695, r=mbrubeckbors-servo2015-12-031-2/+3
|\ | | | | | | | | | | | | | | | | | | now using external ref_slice instead of the std version fixed #8695 Fixes #8695. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8787) <!-- Reviewable:end -->
| * now using external ref_slice instead of the std versionJason Williams2015-12-031-2/+3
| |
* | Auto merge of #8693 - yanirs:websocket-close-unspecified-status, r=jdmbors-servo2015-12-031-5/+21
|\ \ | |/ |/| | | | | | | | | | | | | | | Implement unspecified websocket close code (fixes issue #8158) Fixes #8158. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8693) <!-- Reviewable:end -->
| * Implement unspecified websocket close code (fixes issue #8158)Yanir Seroussi2015-11-301-5/+21
| |