Anthony Ramine
ca15dd5eea
Introduce GlobalScope::process_event
2016-10-06 21:35:56 +02:00
Anthony Ramine
cdf3ef05e7
Introduce GlobalScope::new_script_pair
2016-10-06 21:35:55 +02:00
Anthony Ramine
02d38e74e9
Make Promise::Reject and Resolve take a &GlobalScope
2016-10-06 21:35:54 +02:00
Anthony Ramine
26455b8a67
Remove global_root_from_reflector
2016-10-06 21:35:54 +02:00
Anthony Ramine
4d9347d5b3
Introduce GlobalScope::enqueue_promise_job
2016-10-06 21:35:53 +02:00
Anthony Ramine
6e3be6d894
Introduce GlobalScope::flush_promise_jobs
2016-10-06 21:35:52 +02:00
Anthony Ramine
514819f37a
Introduce GlobalScope::get_runnable_wrapper
2016-10-06 21:35:51 +02:00
Anthony Ramine
991801488c
Move timers to GlobalScope
2016-10-06 21:35:51 +02:00
Anthony Ramine
9c04eb60bd
Move JS evaluation functions to GlobalScope
2016-10-06 21:35:50 +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
bad49e4696
Introduce GlobalScope::resource_threads
2016-10-06 21:35:46 +02:00
Anthony Ramine
86d2008137
Introduce GlobalScope::report_an_error
2016-10-06 21:35:46 +02:00
Anthony Ramine
766010379e
Introduce GlobalScope::as_window
2016-10-06 21:35:45 +02:00
Anthony Ramine
f38159b7d3
Introduce GlobalScope::get_url
2016-10-06 21:35:44 +02:00
Anthony Ramine
3302a53d38
Introduce GlobalScope::api_base_url
2016-10-06 21:35:43 +02:00
Anthony Ramine
ae6af5172b
Introduce Reflectable::global_scope
2016-10-06 21:35:38 +02:00
Anthony Ramine
27f100b1d4
Introduce GlobalScope::pipeline_id
2016-10-06 20:59:13 +02:00
Anthony Ramine
c6ff767625
Introduce GlobalScope::scheduler_chan
2016-10-06 20:59:13 +02:00
Anthony Ramine
f789e73fd2
Introduce GlobalScope::constellation_chan
2016-10-06 20:59:12 +02:00
Anthony Ramine
ae3763e7b3
Introduce GlobalScope::time_profiler_chan
2016-10-06 20:59:12 +02:00
Anthony Ramine
bfa7d045d0
Introduce GlobalScope::mem_profiler_chan
2016-10-06 20:59:11 +02:00
Anthony Ramine
fe6fca9e1f
Introduce GlobalScope::devtools_chan
2016-10-06 20:59:11 +02:00
Anthony Ramine
14a0b8d88c
Move console timers to GlobalScope
2016-10-06 20:59:11 +02:00
Anthony Ramine
d7c2da450b
Introduce GlobalScope::live_devtools_updates
2016-10-06 20:59:10 +02:00
Anthony Ramine
3e5c0c386c
Introduce GlobalScope::get_next_worker_id
2016-10-06 20:59:10 +02:00
Anthony Ramine
fcb59d3057
Make reflect_dom_object take a &GlobalScope
2016-10-06 20:59:09 +02:00
Anthony Ramine
1aebe9fde6
Simplify GlobalRef::resource_threads
2016-10-04 14:01:34 +02:00
Anthony Ramine
e2dfcb658b
Remove GlobalRef::get_worker_id
2016-10-04 13:58:26 +02:00
Anthony Ramine
dd5c527689
Replace ScriptHelpers by GlobalRef methods
2016-10-03 11:42:21 +02:00
Anthony Ramine
f892008907
Remove GlobalRef::history_traversal_task_source
2016-10-02 23:06:54 +02:00
Anthony Ramine
3d719aafa6
Remove GlobalRef::dom_manipulation_task_source
2016-10-02 23:06:50 +02:00
Josh Matthews
57b3ccd38c
Support promises in workers.
2016-09-22 16:16:55 -04:00
Josh Matthews
a1091772ec
Implement binding support for returning and accepting Promises in WebIDL.
2016-09-22 16:16:48 -04:00
Aneesh Agrawal
9d097e7d15
Use fn pipeline_id consistently, not fn pipeline
...
Consistently use the name 'pipeline_id' to refer to a function that
returns an (optional) PipelineId.
This was prompted by discovering both fn pipeline and fn pipeline_id
doing the same job in htmliframeelement.rs.
Note that there is fn pipeline in components/compositing/compositor.rs,
but that actually returns an Option<&CompositionPipeline>, not any kind
of PipelineId.
2016-09-13 15:17:40 -04:00
bors-servo
84f3cf22bf
Auto merge of #13185 - nox:namespaces, r=jdm,Ms2ger
...
Make console a namespace (fixes #13010 )
<!-- 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/13185 )
<!-- Reviewable:end -->
2016-09-10 07:33:25 -05:00
Ms2ger
60142f87e2
Implement error reporting for workers.
...
Fixes #3311 .
Fixes #13158 .
2016-09-09 09:03:09 +02:00
UK992
93a103ba73
Reorder use
statements
2016-09-09 04:55:19 +02:00
Anthony Ramine
7a942b1742
Store Console timers in globals
2016-09-07 15:48:22 +02:00
Josh Matthews
61fcc72d35
Implement Reflectable for GlobalRef.
2016-09-07 10:52:44 +02:00
Ms2ger
b3050855e7
Implement report_an_error on GlobalRef.
2016-09-05 17:14:28 +02:00
Zhen Zhang
17ae38a318
Add cancellability to file manager load and related refactoring
2016-08-02 23:51:51 +02:00
Alan Jeffrey
c889900cff
Removed panic channel, replaced by integrated logging and issue reporting.
2016-07-20 21:56:43 -05:00
Rahul Sharma
1e6293ea1d
Integrate service worker manager thread
2016-07-16 23:29:44 +05:30
Keith Yeung
aa5f34fcd9
Implement file reading task source
...
And remove superfluous FileReaderEvent enum
2016-07-14 13:27:42 -04:00
Josh Matthews
0e4865ea1a
Allow wrapping worker runnables in cancellable runnables.
2016-07-14 13:27:38 -04:00
Connor Brewster
9980acf2c5
removed unused imports
2016-06-02 16:18:13 -06:00
Keith Yeung
05fc799f92
Clean up DOMManipulationTaskSource
2016-06-02 15:27:08 -04: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