Anthony Ramine
f87c2a8d76
Rename Root<T> to DomRoot<T>
...
In a later PR, DomRoot<T> will become a type alias of Root<Dom<T>>,
where Root<T> will be able to handle all the things that need to be
rooted that have a stable traceable address that doesn't move for the
whole lifetime of the root. Stay tuned.
2017-09-26 09:49:10 +02:00
Anthony Ramine
0e3c54c191
Rename dom::bindings::js to dom::bindings::root
2017-09-26 02:19:05 +02:00
Imanol Fernandez
efb59b7ecd
Fix unsafe Heap constructor usage in DOM objects
2017-05-04 01:07:23 +02:00
Anthony Ramine
31e9d81c0f
Make #[dom_struct] a proc_macro attribute
2017-02-24 01:50:51 +01:00
Ms2ger
f7e2f0e641
Use RootedTraceableBox for dictionaries.
2017-02-16 11:03:26 +01:00
Ms2ger
8ce9ca6243
Use Heap for dictionary and union members.
2017-02-16 11:03:21 +01:00
Alan Jeffrey
fc67878edf
Remove warnings about unnecessary mutability.
2017-01-28 21:48:07 -06:00
Rohan Prinja
973f77c006
Make WebIDL constructors take a more specific global if possible ( fixes #14071 )
2016-11-30 23:23:41 +01:00
Abelardo E. Mendoza
b372e7c98f
script creates methods taking '*mut JSContext' unsafe
...
rebase + marked the necessary new code as unsafe
2016-11-14 11:06:17 +01:00
Simon Sapin
53b638c0e2
Update to string-cache 0.3
2016-11-03 16:23:05 +01:00
Anthony Ramine
19108aa330
Pass a &GlobalScope to WebIDL static methods and constructors
2016-10-06 21:35:49 +02:00
Anthony Ramine
20bacbf42e
Make dispatch_jsval methods take a &GlobalScope
2016-10-06 21:35:40 +02:00
Anthony Ramine
fcb59d3057
Make reflect_dom_object take a &GlobalScope
2016-10-06 20:59:09 +02:00
Rahul Sharma
8b10cca91f
implement ExtendableEvent as base type for ServiceWorker events
2016-09-17 20:58:46 +05:30