Anthony Ramine
31e9d81c0f
Make #[dom_struct] a proc_macro attribute
2017-02-24 01:50:51 +01:00
Ms2ger
67c572af37
Update js.
...
Fixes #15553 .
2017-02-15 16:27:29 +01:00
Sumant Manne
4623b5f76b
Rewrote websocket array buffer handling to typed array API
2016-12-26 13:22:41 -06:00
Corey Farwell
77d2f9de36
Refactor and simplify 'set cookies' operations on resource thread.
2016-12-15 15:34:04 -05:00
Corey Farwell
449f6337d4
Rename Reflectable
to DomObject
.
...
Fixes https://github.com/servo/servo/issues/8473 .
2016-12-08 08:50:35 -10:00
Emilio Cobos Álvarez
913c874cb5
Urlmageddon: Use refcounted urls more often.
2016-11-17 18:34:23 +01:00
Keith Yeung
72cb856e31
Properly implement TaskSource for NetworkingTaskSource
2016-11-11 14:50:42 -08:00
Corey Farwell
f447040ea9
Migrate EventTarget
event firing functions to use Atom
s.
...
This allows us to utilize more `atom` macros.
2016-11-03 17:04:30 -04:00
Corey Farwell
c3b279a4c3
Remove "fire a simple event" concept, refactor event firing API.
...
"fire a simple event" concept was removed in
https://github.com/whatwg/html/pull/1933 .
2016-11-03 15:01:07 -04:00
Anthony Ramine
0b3ab875f4
Remove intrinsic Root::r()
2016-10-11 19:44:32 +02:00
Anthony Ramine
d8e92bb271
Rename Reflectable::global_scope to global
2016-10-06 21:36:41 +02:00
Anthony Ramine
19108aa330
Pass a &GlobalScope to WebIDL static methods and constructors
2016-10-06 21:35:49 +02:00
Anthony Ramine
1fd470889d
Introduce GlobalScope::networking_task_source
2016-10-06 21:35:49 +02:00
Anthony Ramine
a7305b7fc4
Introduce GlobalScope::script_chan
2016-10-06 21:35:48 +02:00
Anthony Ramine
71236e168a
Introduce GlobalScope::core_resource_thread
2016-10-06 21:35:48 +02:00
Anthony Ramine
f38159b7d3
Introduce GlobalScope::get_url
2016-10-06 21:35:44 +02:00
Anthony Ramine
20bacbf42e
Make dispatch_jsval methods take a &GlobalScope
2016-10-06 21:35:40 +02:00
Anthony Ramine
ae6af5172b
Introduce Reflectable::global_scope
2016-10-06 21:35:38 +02:00
Anthony Ramine
fcb59d3057
Make reflect_dom_object take a &GlobalScope
2016-10-06 20:59:09 +02:00
UK992
93a103ba73
Reorder use
statements
2016-09-09 04:55:19 +02:00
Nikhil Shagrithaya
8a05e7a413
Implemented name for Runnable trait in WebSocket Runnables
2016-07-23 23:27:31 +05:30
Zhen Zhang
ab14777312
Remove DataSlice, fix #12249
2016-07-05 17:51:53 +08:00
Eduard Burtescu
0db1faf876
Switch to using the new rooted!/RootedGuard API for rooting.
2016-07-04 20:59:01 +03:00
Sagar Muchhal
7e2b4d163b
Propagate privacy information of iframes to corresponding pipelines. Make 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.
2016-06-20 14:55:01 -04:00
Achal Shah
af325a9a3a
Update Blob::{new, new_inherited} to take Strings
2016-06-17 07:43:11 -07:00
Zhen Zhang
43ad4ba585
Add file backend support for Blob and related
...
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
2016-06-01 09:47:07 +08:00
Josh Matthews
3cb8af20c2
Remove empty lines following braces.
2016-05-27 13:32:05 -04:00
Cullen Rhodes
40acd24e8f
Report use statements that use {} with only one entry
2016-05-27 10:18:44 +01:00
Anthony Ramine
cdc7bca944
Move DOMString back to script
...
This entirely removes the 'non-geckolib' feature of the util crate.
2016-05-24 10:54:57 +02:00
Zhen Zhang
a51db4cfa8
Implement trait-based ResourceThreads and clean up related naming issues
...
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
2016-05-20 08:00:16 +08:00
Per Lundberg
2f7ed1d73e
Removed unused imports
...
This fixes #11185 .
2016-05-15 22:24:26 +03:00
Ms2ger
735480c184
Stop using JSAutoRequest.
2016-05-13 15:34:38 +02:00
Zhen Zhang
f43009333f
Rewrite Blob constructor interface
2016-05-10 20:19:10 +08:00
Anthony Ramine
eb94f1a918
Update SpiderMonkey
2016-05-03 18:36:11 +02:00
Keith Yeung
33acb1937c
Remove extraneous script_chan parameter from Trusted::new
2016-04-28 10:52:44 +02:00
Simon Sapin
7932ab6ac2
Upgrade to rust-url 1.0 and hyper 0.9
2016-04-23 20:27:58 +02:00
Di Xu
76f57efb58
replace Fallible<()> with ErrorResult
2016-04-13 19:56:52 +08:00
Rahul Sharma
2caa9a2a76
refactors entities from script_thread into script_runtime
2016-04-06 12:46:49 +05:30
Saurav Sachidanand
4ddf4e7bdc
Update WebSocket blocked ports to match the Fetch spec
2016-03-17 18:21:20 +05:30
Sam Gibson
4f736e6f7c
Trigger WebSocket error event
...
Trigger a WebSocket error after receiving an invalid message from the server
2016-02-26 09:43:12 +01:00
bors-servo
63dc161b77
Auto merge of #9683 - kmuszyn:9561-more-thread-source-renamings, r=jdm
...
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 -->
2016-02-18 04:59:32 +05:30
bors-servo
bc034845b7
Auto merge of #9662 - rebstar6:websocket_cookies, r=jdm
...
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 -->
2016-02-18 02:44:01 +05:30
Kamil Muszyński
c6dfd7e2fa
Issue #9561 continued - renamed *_thread_source to *_task_source in global.rs and related files
2016-02-17 21:25:12 +01:00
Rebecca
cf6fd6dafe
Add support for websocket request and response cookies
...
Also change expected behavior to pass for all in tests/wpt/web-platform-tests/websockets/cookies
2016-02-17 14:50:52 -05:00
Peter
f374e8f420
#9640 Refactor: Move util::str::is_token to script::dom::bindings::str
2016-02-14 22:47:52 +00:00
Ms2ger
5317af1e19
Remove the global argument to EventTarget::{fire_event, fire_simple_event}.
2016-02-08 19:21:56 +01:00
Alexander Lopatin
2be49404be
Fix #9508 : Beautify our union enums constructors
2016-02-07 02:55:21 +03:00
Manish Goregaokar
ccbd38e2c7
Make websockets not crash in a worker scope
2016-02-04 00:03:18 +05:30
bors-servo
e74021baaa
Auto merge of #9400 - jmr0:websocket, r=nox
...
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 -->
2016-01-25 17:01:39 +05:30
jmr0
3846cf52f2
fix websocket header validation, ensure it meets token requirements, add
...
testing
2016-01-24 18:31:21 -05:00