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
Anthony Ramine
af2e83f378
Make Promise::reject_error sound
2017-09-22 02:15:22 +02:00
Anthony Ramine
5addc2dfa3
Make Promise::resolve_native actually sound
...
We shouldn't have to pass a raw JSContext pointer, and to enter the
promise's context's compartment by hand.
2017-09-21 16:00:48 +02:00
Jyotsna Prakash
433cd90bc3
return Option from GlobalScope::current
...
handles the case where GlobalScope::current calls CurrentGlobalOrNull
and the result is null
2017-06-22 10:04:06 -07:00
Lucjan Suski
9a059b49c5
Use servo_config::opts only on linux target.
...
It's not used for other architectures and triggers warnings.
2017-03-21 15:55:45 +01:00
Alan Jeffrey
f05577cb29
Disabled tinyfiledialogs when running headless.
2017-03-16 08:48:33 -05:00
Anthony Ramine
31e9d81c0f
Make #[dom_struct] a proc_macro attribute
2017-02-24 01:50:51 +01:00
Zakor Gyula
462a825bd1
previous invocation results
2017-02-14 15:01:27 +01:00
Attila Dusnoki
4a62562b0f
Add pref to ignore popup in testing
2017-02-13 14:58:13 +01:00
Zakor Gyula
3ec9f0bab9
Fix comments, and lesser modifications
2017-02-13 14:58:12 +01:00
Attila Dusnoki
0b713fd689
Refactor permission operations into one function
2017-02-13 14:58:11 +01:00
Attila Dusnoki
cce362dc39
Fix popup build error
2017-02-13 14:58:10 +01:00
Zakor Gyula
5287cd3bea
Bluetooth Permission API integration
2017-02-13 14:58:06 +01:00
Attila Dusnoki
5ca3ee9474
Permission API
2017-02-13 14:35:52 +01:00